fixed removing CSS styles

test-unit-sauce
Brian Ford 12 years ago
parent f2e901af54
commit da354bc276

@ -272,7 +272,6 @@ panelApp.factory('appContext', function(chromeExtension) {
removeCssRule: function (args) { removeCssRule: function (args) {
chromeExtension.eval(function (window, args) { chromeExtension.eval(function (window, args) {
helpers.removeCssRule(selector, style);
var styleSheet = document.styleSheets[document.styleSheets.length - 1]; var styleSheet = document.styleSheets[document.styleSheets.length - 1];
var i; var i;
for (i = styleSheet.cssRules.length - 1; i >= 0; i -= 1) { for (i = styleSheet.cssRules.length - 1; i >= 0; i -= 1) {