summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);