mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
447af0d9ef
commit
554cdeb746
@ -103,10 +103,10 @@ def ensure_id(w):
|
||||
w.setAttribute('id', ans)
|
||||
return ans
|
||||
|
||||
extra_css = []
|
||||
extra_css = v'[]'
|
||||
|
||||
def add_extra_css(func):
|
||||
extra_css.push(func)
|
||||
extra_css.push(func())
|
||||
|
||||
def get_widget_css():
|
||||
return extra_css.join('\n')
|
||||
|
Loading…
x
Reference in New Issue
Block a user