summaryrefslogtreecommitdiff
path: root/lib/js/urweb.js
diff options
context:
space:
mode:
authorGravatar Benjamin Barenblat <bbaren@mit.edu>2015-12-23 16:01:51 -0500
committerGravatar Benjamin Barenblat <bbaren@mit.edu>2015-12-23 16:01:51 -0500
commit3d3886672433f0775f772d8d2ee47c5f5e0bc745 (patch)
tree072d171c17d92a6696024256c4b2f5aaa760df35 /lib/js/urweb.js
parentbf037ce78c2c76a34ecca0fb8bafa5d5be38968a (diff)
parent4be7962adf740a35222bfd99608c04329a802a04 (diff)
Merge branch 'upstream' into dfsg_clean20151220+dfsg
Diffstat (limited to 'lib/js/urweb.js')
-rw-r--r--lib/js/urweb.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/js/urweb.js b/lib/js/urweb.js
index 6cf8a3f3..14ec4612 100644
--- a/lib/js/urweb.js
+++ b/lib/js/urweb.js
@@ -1215,6 +1215,9 @@ function dynClass(pnode, html, s_class, s_style) {
suspendScripts = false;
var html = dummy.firstChild;
dummy.removeChild(html);
+ if (pnode == "table" && html.tagName == "TBODY") {
+ html = html.firstChild;
+ }
addNode(html);
runScripts(html);