summaryrefslogtreecommitdiff
path: root/lib/js
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adam@chlipala.net>2015-03-08 11:05:54 -0400
committerGravatar Adam Chlipala <adam@chlipala.net>2015-03-08 11:05:54 -0400
commitbfe662354b7cc09296792548a720054cba8e9661 (patch)
treee73124e2a1d53f106816326b60ac28033b507669 /lib/js
parente0c9c2835156aedd059fd24d69c7ee9ae81a81c6 (diff)
Fix dynClass JavaScript reversion
Diffstat (limited to 'lib/js')
-rw-r--r--lib/js/urweb.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/js/urweb.js b/lib/js/urweb.js
index bd5109c3..8bb3dbe5 100644
--- a/lib/js/urweb.js
+++ b/lib/js/urweb.js
@@ -1200,7 +1200,7 @@ function dynClass(pnode, html, s_class, s_style) {
x.dead = false;
x.signal = s_class;
x.sources = null;
- x.closures = null;
+ x.closures = htmlCls;
x.recreate = function(v) {
for (var ls = x.closures; ls != htmlCls; ls = ls.next)