mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-01-04 03:25:55 +01:00
...
This commit is contained in:
parent
447af0d9ef
commit
554cdeb746
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Reference in a new issue