Skip to content

Commit

Permalink
feat: class body.htagoff comes with a default style
Browse files Browse the repository at this point in the history
  • Loading branch information
manatlan authored Sep 15, 2023
1 parent 7c30e4e commit 74fcf92
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion htagweb/appserver.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,9 @@ def fqn2hr(fqn:str,js:str,init,session,fullerror=False): # fqn is a "full qualif

klass=getClass(fqn)

return HRenderer( klass, js, init=init, session = session, fullerror=fullerror)
styles=Tag.style("body.htagoff * {cursor:not-allowed !important;}")

return HRenderer( klass, js, init=init, session = session, fullerror=fullerror, statics=[styles,])

class HRSocket(WebSocketEndpoint):
encoding = "text"
Expand Down

0 comments on commit 74fcf92

Please sign in to comment.