diff options
Diffstat (limited to 'js/panels/css-panel/style-sheet.reel/style-sheet.js')
-rw-r--r-- | js/panels/css-panel/style-sheet.reel/style-sheet.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/panels/css-panel/style-sheet.reel/style-sheet.js b/js/panels/css-panel/style-sheet.reel/style-sheet.js index 8a8e7dbf..3a0060b2 100644 --- a/js/panels/css-panel/style-sheet.reel/style-sheet.js +++ b/js/panels/css-panel/style-sheet.reel/style-sheet.js | |||
@@ -202,7 +202,7 @@ exports.StyleSheet = Montage.create(Component, { | |||
202 | set : function(value) { | 202 | set : function(value) { |
203 | if(value === this._mediaText) { return; } | 203 | if(value === this._mediaText) { return; } |
204 | 204 | ||
205 | this._source.ownerNode.setAttribute('media', value); | 205 | this.application.ninja.stylesController.setMediaAttribute(this._source, value); |
206 | 206 | ||
207 | this._mediaText = value; | 207 | this._mediaText = value; |
208 | 208 | ||