From 554cdeb74692d448ef691db28ce35cdf58e228d8 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Wed, 27 Jul 2016 12:44:33 +0530 Subject: [PATCH] ... --- src/pyj/dom.pyj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pyj/dom.pyj b/src/pyj/dom.pyj index f7bb2388f8..fafbad31a7 100644 --- a/src/pyj/dom.pyj +++ b/src/pyj/dom.pyj @@ -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')