aboutsummaryrefslogtreecommitdiff
path: root/js/panels/css-panel/rule-components
diff options
context:
space:
mode:
Diffstat (limited to 'js/panels/css-panel/rule-components')
-rw-r--r--js/panels/css-panel/rule-components/css-style-rule.reel/css-style-rule.js2
1 files changed, 1 insertions, 1 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 c74502c0..ac714bfa 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
@@ -29,7 +29,7 @@ exports.CssStyleRule = Montage.create(Component, {
29 return this._applied; 29 return this._applied;
30 }, 30 },
31 set: function(value) { 31 set: function(value) {
32 if(this._applied === value) { return false; } 32 if(this._applied === value || value === undefined || value === null) { return false; }
33 33
34 this._applied = value; 34 this._applied = value;
35 this.needsDraw = true; 35 this.needsDraw = true;