mirror of
https://github.com/icecoder/ICEcoder.git
synced 2026-03-06 16:46:48 +01:00
Removed document.all to check for .rules instead
Used more appropriate feature detection
This commit is contained in:
@@ -1526,7 +1526,8 @@ var ICEcoder = {
|
||||
}
|
||||
|
||||
console.log('TO FIX');
|
||||
//document.all ? strCSS = 'rules' : strCSS = 'cssRules';
|
||||
//cMCSS = ICEcoder.content.contentWindow.document;
|
||||
//cMCSS.styleSheets[2].rules ? strCSS = 'rules' : strCSS = 'cssRules';
|
||||
//document.settings.visibleTabs.checked ? document.styleSheets[2][strCSS][5].style['content'] = '"\\21e5"' : document.styleSheets[2][strCSS][5].style['content'] = '" "';
|
||||
|
||||
|
||||
|
||||
@@ -184,7 +184,8 @@ var showButton = function() {
|
||||
|
||||
var showHideTabs = function() {
|
||||
console.log('TO FIX');
|
||||
//document.all ? strCSS = 'rules' : strCSS = 'cssRules';
|
||||
//cMCSS = ICEcoder.content.contentWindow.document;
|
||||
//cMCSS.styleSheets[2].rules ? strCSS = 'rules' : strCSS = 'cssRules';
|
||||
//document.settings.visibleTabs.checked ? document.styleSheets[2][strCSS][5].style['content'] = '"\\21e5"' : document.styleSheets[2][strCSS][5].style['content'] = '" "';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user