From 5ff58f05bf2a762893308802cd7108cefda8540d Mon Sep 17 00:00:00 2001 From: David Cramer Date: Sun, 3 Apr 2011 14:21:36 +0000 Subject: [PATCH] Fixed problem reported in IE 8. See tracker id # 373747. --- xsl/webhelp/template/common/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xsl/webhelp/template/common/main.js b/xsl/webhelp/template/common/main.js index 7a06c4deb..449cda8b5 100755 --- a/xsl/webhelp/template/common/main.js +++ b/xsl/webhelp/template/common/main.js @@ -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;"); -- 2.40.0