aboutsummaryrefslogtreecommitdiff
path: root/js/panels/css-panel/rule-components
diff options
context:
space:
mode:
authorEric Guzman2012-05-10 17:14:12 -0700
committerEric Guzman2012-05-10 17:14:12 -0700
commit1c73ff78bb6a251ded84ab34ed7f341844c030f1 (patch)
tree04dd3ddaf4234da6c035ff215f7fc273bd54ab9d /js/panels/css-panel/rule-components
parent7358c12a45ac2923e7553b17a1cc7c15af70e4c8 (diff)
downloadninja-1c73ff78bb6a251ded84ab34ed7f341844c030f1.tar.gz
CSS Panel - Fixed removing rules and checking to see if rules apply on add.
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;