diff options
Diffstat (limited to 'js/panels/css-panel/style-sheets-view.reel/style-sheets-view.js')
-rw-r--r-- | js/panels/css-panel/style-sheets-view.reel/style-sheets-view.js | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/js/panels/css-panel/style-sheets-view.reel/style-sheets-view.js b/js/panels/css-panel/style-sheets-view.reel/style-sheets-view.js index f93de830..f8826b18 100644 --- a/js/panels/css-panel/style-sheets-view.reel/style-sheets-view.js +++ b/js/panels/css-panel/style-sheets-view.reel/style-sheets-view.js | |||
@@ -28,8 +28,12 @@ exports.StyleSheetsView = Montage.create(Component, { | |||
28 | }, | 28 | }, |
29 | handleStyleSheetsReady : { | 29 | handleStyleSheetsReady : { |
30 | value: function(e) { | 30 | value: function(e) { |
31 | //this.styleSheets = null; | 31 | this.noDocumentCondition = false; |
32 | this.styleSheets = this.stylesController.userStyleSheets; | 32 | |
33 | this.stylesController.userStyleSheets.forEach(function(sheet) { | ||
34 | this.styleSheets.push(sheet); | ||
35 | }, this); | ||
36 | |||
33 | } | 37 | } |
34 | }, | 38 | }, |
35 | prepareForDraw : { | 39 | prepareForDraw : { |