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]
This commit is contained in:
Matt Pass
2013-02-11 17:08:21 +00:00
parent 00af30281c
commit 1a0d8933dc

View File

@@ -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;