From ee1a68c223c13b323121f67e8f135160d521d3fd Mon Sep 17 00:00:00 2001 From: Adam Chlipala Date: Tue, 15 Dec 2015 19:58:52 -0500 Subject: Fixing dynClass for s --- lib/js/urweb.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib') 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); -- cgit v1.2.3