aboutsummaryrefslogtreecommitdiff
path: root/js/panels/css-panel/styles-view-container.reel/styles-view-container.js
diff options
context:
space:
mode:
authorValerio Virgillito2012-07-23 14:56:39 -0700
committerValerio Virgillito2012-07-23 14:56:39 -0700
commitfaa78ac6b0f9944dd406bed3c8170714ca02e3f9 (patch)
tree8aa991663b4a29ce19f7b6ae3d63031a9bb8734b /js/panels/css-panel/styles-view-container.reel/styles-view-container.js
parente7268388a99722dd7bb64506893538fd0ee96a71 (diff)
parent74d3af4650e549afe6cd6bf11ba0bcae89fca602 (diff)
downloadninja-faa78ac6b0f9944dd406bed3c8170714ca02e3f9.tar.gz
Merge branch 'minorFixes_7.1' of https://github.com/ericguzman/ninja
Diffstat (limited to 'js/panels/css-panel/styles-view-container.reel/styles-view-container.js')
-rw-r--r--js/panels/css-panel/styles-view-container.reel/styles-view-container.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/js/panels/css-panel/styles-view-container.reel/styles-view-container.js b/js/panels/css-panel/styles-view-container.reel/styles-view-container.js
index bba178f2..94abb4b0 100644
--- a/js/panels/css-panel/styles-view-container.reel/styles-view-container.js
+++ b/js/panels/css-panel/styles-view-container.reel/styles-view-container.js
@@ -141,6 +141,12 @@ exports.StylesViewContainer = Montage.create(Component, {
141 value: function() { 141 value: function() {
142 this.eventManager.addEventListener('styleSheetsReady', this, false); 142 this.eventManager.addEventListener('styleSheetsReady', this, false);
143 this.eventManager.addEventListener('elementChange', this, false); 143 this.eventManager.addEventListener('elementChange', this, false);
144 this.eventManager.addEventListener('mediaChange', this, false);
145 }
146 },
147 handleMediaChange : {
148 value: function(e) {
149 this.ruleListContainer.update();
144 } 150 }
145 }, 151 },
146 handleStyleSheetsReady: { 152 handleStyleSheetsReady: {