summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adam@chlipala.net>2015-12-15 19:58:52 -0500
committerGravatar Adam Chlipala <adam@chlipala.net>2015-12-15 19:58:52 -0500
commitee1a68c223c13b323121f67e8f135160d521d3fd (patch)
tree8a39086317e0a4a625391cb3fdbb064f2eaf3196 /lib
parent49da529aff71b377ec8a9ebc98b0a94f81ee18e5 (diff)
Fixing dynClass for <tr>s
Diffstat (limited to 'lib')
-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);