diff options
author | Eric Guzman | 2012-07-20 16:31:35 -0700 |
---|---|---|
committer | Eric Guzman | 2012-07-20 16:31:35 -0700 |
commit | 74d3af4650e549afe6cd6bf11ba0bcae89fca602 (patch) | |
tree | 8e95badb3c086a5e05aec5ba58d09138d35fb0e5 /js | |
parent | c85a4fc8001b50bebc60d05277df0264c61879c2 (diff) | |
download | ninja-74d3af4650e549afe6cd6bf11ba0bcae89fca602.tar.gz |
CSS Panel - Remove data attribute to remove style tags from document.
Diffstat (limited to 'js')
-rwxr-xr-x | js/controllers/styles-controller.js | 1 |
1 files changed, 1 insertions, 0 deletions
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, { | |||
1516 | 1516 | ||
1517 | ///// Mark for removal for i/o | 1517 | ///// Mark for removal for i/o |
1518 | sheetEl.setAttribute('data-ninja-remove', 'true'); | 1518 | sheetEl.setAttribute('data-ninja-remove', 'true'); |
1519 | sheetEl.removeAttribute('data-ninja-node'); | ||
1519 | 1520 | ||
1520 | NJevent('removeStyleSheet', sheet); | 1521 | NJevent('removeStyleSheet', sheet); |
1521 | } | 1522 | } |