From 1a0d8933dcaef3a85235f9e6e4d344a80f5f8dc9 Mon Sep 17 00:00:00 2001 From: Matt Pass Date: Mon, 11 Feb 2013 17:08:21 +0000 Subject: [PATCH] Adjust style values Now we have an extra stylesheet, this should be [3] not [2] The class ref for the tabs class is actually [5] not [4] --- lib/ice-coder.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ice-coder.js b/lib/ice-coder.js index 2beab2d..959f573 100644 --- a/lib/ice-coder.js +++ b/lib/ice-coder.js @@ -1388,9 +1388,9 @@ var ICEcoder = { top.document.getElementById('fileMenu').style.display='none'; } - cMCSS = ICEcoder.content.contentWindow.document.styleSheets[2]; + cMCSS = ICEcoder.content.contentWindow.document.styleSheets[3]; strCSS = cMCSS.rules ? 'rules' : 'cssRules'; - cMCSS[strCSS][4].style['content'] = visibleTabs ? '"\\21e5"' : '" "'; + cMCSS[strCSS][5].style['content'] = visibleTabs ? '"\\21e5"' : '" "'; cMCSS[strCSS][2].style.cssText = "background: " + activeLineBG + " !important"; top.ICEcoder.lineWrapping = lineWrapping;