aboutsummaryrefslogtreecommitdiff
path: root/js/panels
diff options
context:
space:
mode:
authorEric Guzman2012-05-18 11:13:35 -0700
committerEric Guzman2012-05-18 11:13:35 -0700
commit16fc335a6fdf8582f1e6bde6ac73bb6a57b38834 (patch)
treeb5ed992dc106a8d60ec63eda49cd9dafedeed3d6 /js/panels
parent51fb891b07f93f1d199eb5a0a8f23ee160cef91c (diff)
downloadninja-16fc335a6fdf8582f1e6bde6ac73bb6a57b38834.tar.gz
Rule List Container - Fix rule list retrieval
Diffstat (limited to 'js/panels')
-rw-r--r--js/panels/css-panel/rule-list-container.reel/rule-list-container.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/panels/css-panel/rule-list-container.reel/rule-list-container.js b/js/panels/css-panel/rule-list-container.reel/rule-list-container.js
index 4ee340e4..e7174c3d 100644
--- a/js/panels/css-panel/rule-list-container.reel/rule-list-container.js
+++ b/js/panels/css-panel/rule-list-container.reel/rule-list-container.js
@@ -46,8 +46,8 @@ exports.RuleListContainer = Montage.create(Component, {
46 list = this.ruleLists[i]; 46 list = this.ruleLists[i];
47 47
48 if(selection.length > 1) { 48 if(selection.length > 1) {
49 matchesAll = list.selection.every(function(element, index, array) { 49 matchesAll = selection.every(function(element, index, array) {
50 return array.indexOf(element) !== 0; 50 return list.selection.indexOf(element) !== -1;
51 }); 51 });
52 52
53 if(matchesAll) { 53 if(matchesAll) {