diff options
author | Eric Guzman | 2012-07-20 11:30:08 -0700 |
---|---|---|
committer | Eric Guzman | 2012-07-20 11:30:08 -0700 |
commit | 2f0c50a13258e8abb9325573ed7e0ebe11655fec (patch) | |
tree | f5c42b78d2d5f63c45a53590d56bfc6344cc8068 /js/panels/css-panel/rule-list.reel | |
parent | 9053e2037821a5c8405fabb74db9635deacfe8d5 (diff) | |
download | ninja-2f0c50a13258e8abb9325573ed7e0ebe11655fec.tar.gz |
CSS Panel - Fix updating when media changes, sheets are deleted.
Diffstat (limited to 'js/panels/css-panel/rule-list.reel')
-rw-r--r-- | js/panels/css-panel/rule-list.reel/rule-list.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/panels/css-panel/rule-list.reel/rule-list.js b/js/panels/css-panel/rule-list.reel/rule-list.js index ae0c4611..b9dc2b95 100644 --- a/js/panels/css-panel/rule-list.reel/rule-list.js +++ b/js/panels/css-panel/rule-list.reel/rule-list.js | |||
@@ -106,7 +106,7 @@ exports.RuleList = Montage.create(Component, { | |||
106 | // found rule in our component list, or it's the inline rule | 106 | // found rule in our component list, or it's the inline rule |
107 | ruleComponent.update(); | 107 | ruleComponent.update(); |
108 | foundIndices.push(index); | 108 | foundIndices.push(index); |
109 | } else if(!ruleComponent.applied) { /// remove rule (unless unapplied) | 109 | } else if(ruleComponent.applied) { /// remove rule (unless unapplied) |
110 | this.rulesToRemove.push(ruleComponent); | 110 | this.rulesToRemove.push(ruleComponent); |
111 | } | 111 | } |
112 | }, this); | 112 | }, this); |