summaryrefslogtreecommitdiff
path: root/lib/js/urweb.js
diff options
context:
space:
mode:
authorGravatar Benjamin Barenblat <bbaren@mit.edu>2015-12-23 16:05:41 -0500
committerGravatar Benjamin Barenblat <bbaren@mit.edu>2015-12-23 16:05:41 -0500
commit55fb47437968a5e59277e7bbc54b567461f85ec8 (patch)
tree0b817cbcbb93f8cc843e1d8eab9497dd8259a70d /lib/js/urweb.js
parentee273a49d0e61da0bf1793ef50245832fcebe09e (diff)
parent3d3886672433f0775f772d8d2ee47c5f5e0bc745 (diff)
Merge branch 'dfsg_clean'
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);