diff options
Diffstat (limited to 'js/panels/css-panel/rule-components/css-style-rule.reel')
-rw-r--r-- | js/panels/css-panel/rule-components/css-style-rule.reel/css-style-rule.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/js/panels/css-panel/rule-components/css-style-rule.reel/css-style-rule.js b/js/panels/css-panel/rule-components/css-style-rule.reel/css-style-rule.js index d2c81b93..7b5a736f 100644 --- a/js/panels/css-panel/rule-components/css-style-rule.reel/css-style-rule.js +++ b/js/panels/css-panel/rule-components/css-style-rule.reel/css-style-rule.js | |||
@@ -104,6 +104,7 @@ exports.CssStyleRule = Montage.create(Component, { | |||
104 | value: function() { | 104 | value: function() { |
105 | if(this.rule.type === 'inline') { | 105 | if(this.rule.type === 'inline') { |
106 | this.selectorField.readOnly = true; | 106 | this.selectorField.readOnly = true; |
107 | this.declarationComponent.type = 'inline'; | ||
107 | } else { | 108 | } else { |
108 | this.selectorField.addEventListener('change', this, false); | 109 | this.selectorField.addEventListener('change', this, false); |
109 | } | 110 | } |