From 74d3af4650e549afe6cd6bf11ba0bcae89fca602 Mon Sep 17 00:00:00 2001 From: Eric Guzman Date: Fri, 20 Jul 2012 16:31:35 -0700 Subject: CSS Panel - Remove data attribute to remove style tags from document. --- js/controllers/styles-controller.js | 1 + 1 file changed, 1 insertion(+) (limited to 'js') diff --git a/js/controllers/styles-controller.js b/js/controllers/styles-controller.js index 11d53ac0..21321f6d 100755 --- a/js/controllers/styles-controller.js +++ b/js/controllers/styles-controller.js @@ -1516,6 +1516,7 @@ var stylesController = exports.StylesController = Montage.create(Component, { ///// Mark for removal for i/o sheetEl.setAttribute('data-ninja-remove', 'true'); + sheetEl.removeAttribute('data-ninja-node'); NJevent('removeStyleSheet', sheet); } -- cgit v1.2.3