changeset 2128:248e2b32954b

Fix dynClass JavaScript reversion
author Adam Chlipala <adam@chlipala.net>
date Sun, 08 Mar 2015 11:05:54 -0400
parents 8beeb4f761b5
children e0843b2a636d
files lib/js/urweb.js
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lib/js/urweb.js	Sun Mar 08 10:55:05 2015 -0400
+++ b/lib/js/urweb.js	Sun Mar 08 11:05:54 2015 -0400
@@ -1200,7 +1200,7 @@
         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)