fixed removing CSS styles

This commit is contained in:
Brian Ford 2012-07-31 18:01:28 -07:00
parent f2e901af54
commit da354bc276

View File

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