aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorEric Guzman2012-05-16 14:10:14 -0700
committerEric Guzman2012-05-16 14:10:14 -0700
commit5164c2415c8a0750c21299325bb1caa8a97fc5b5 (patch)
treede129cdd900c3a2817476de1a5eb7cc248ce85b4 /js
parentd4ce8c2fe42fcbfc36cf4b20ef8de67c6471c241 (diff)
downloadninja-5164c2415c8a0750c21299325bb1caa8a97fc5b5.tar.gz
Styles Controller - Fix issue with clearing dirty stylesheet list
Diffstat (limited to 'js')
-rwxr-xr-xjs/controllers/styles-controller.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/js/controllers/styles-controller.js b/js/controllers/styles-controller.js
index cbc00676..60b2ca92 100755
--- a/js/controllers/styles-controller.js
+++ b/js/controllers/styles-controller.js
@@ -1345,7 +1345,6 @@ var stylesController = exports.StylesController = Montage.create(Component, {
1345 this.dirtyStyleSheets.length = 0; 1345 this.dirtyStyleSheets.length = 0;
1346 1346
1347 if(doc) { 1347 if(doc) {
1348 this.dirtyStyleSheets = null;
1349 this.dirtyStyleSheets = this.dirtyStyleSheets.filter(function(sheet) { 1348 this.dirtyStyleSheets = this.dirtyStyleSheets.filter(function(sheet) {
1350 return sheet.document !== doc; 1349 return sheet.document !== doc;
1351 }); 1350 });