diff options
author | Eric Guzman | 2012-04-04 17:57:13 -0700 |
---|---|---|
committer | Eric Guzman | 2012-04-04 17:57:13 -0700 |
commit | 313e0336cc72a1dc773bfa0e3d41b2993339f9af (patch) | |
tree | 1f691b5245dda9a45149fd70b072a972c4cffef5 /js/panels/css-panel/styles-view-container.reel | |
parent | 72697c2a48480509cd89ac506d8a4873f2853fd4 (diff) | |
download | ninja-313e0336cc72a1dc773bfa0e3d41b2993339f9af.tar.gz |
Rule List - Update selection to not use "_element" property.
Diffstat (limited to 'js/panels/css-panel/styles-view-container.reel')
-rw-r--r-- | js/panels/css-panel/styles-view-container.reel/styles-view-container.js | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/js/panels/css-panel/styles-view-container.reel/styles-view-container.js b/js/panels/css-panel/styles-view-container.reel/styles-view-container.js index 5967345a..7df39d39 100644 --- a/js/panels/css-panel/styles-view-container.reel/styles-view-container.js +++ b/js/panels/css-panel/styles-view-container.reel/styles-view-container.js | |||
@@ -46,12 +46,10 @@ exports.StylesViewContainer = Montage.create(Component, { | |||
46 | return false; | 46 | return false; |
47 | } else if(elements.length > 1) { | 47 | } else if(elements.length > 1) { |
48 | type = 'ELEMENTS'; | 48 | type = 'ELEMENTS'; |
49 | selection = elements.map(function(obj) { | 49 | selection = elements; |
50 | return obj._element; | ||
51 | }); | ||
52 | } else { | 50 | } else { |
53 | type = 'ELEMENT'; | 51 | type = 'ELEMENT'; |
54 | selection = elements[0]._element; | 52 | selection = elements[0]; |
55 | } | 53 | } |
56 | 54 | ||
57 | ruleList = this.ruleListContainer._getRuleList({ | 55 | ruleList = this.ruleListContainer._getRuleList({ |