aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
Diffstat (limited to 'js')
-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) {