]> granicus.if.org Git - docbook-dsssl/commitdiff
Fixed problem reported in IE 8. See tracker id # 373747.
authorDavid Cramer <david@thingbag.net>
Sun, 3 Apr 2011 14:21:36 +0000 (14:21 +0000)
committerDavid Cramer <david@thingbag.net>
Sun, 3 Apr 2011 14:21:36 +0000 (14:21 +0000)
xsl/webhelp/template/common/main.js

index 7a06c4deb5713022060b617236e83bf8d2d53380..449cda8b501e2bf3ecff92c1fbdd5d2264dba229 100755 (executable)
@@ -92,7 +92,7 @@ function syncToc() {
 
         if (b != undefined) {
             //Setting the background for selected node.
-            var style = a.getAttribute("style");
+            var style = a.getAttribute("style", 2);
             if (style != null && !style.match(/background-color: Background;/)) {
                 a.setAttribute("style", "background-color: #6495ed;  " + style);
                 b.setAttribute("style", "color: white;");