From 609ad21e56623827c5ca203cf6062f70d3067764 Mon Sep 17 00:00:00 2001 From: Ananya Sen Date: Mon, 11 Jun 2012 17:13:31 -0700 Subject: - removed extra selection change event, - displace element after adding it to the document Signed-off-by: Ananya Sen --- js/panels/css-panel/styles-view-container.reel/styles-view-container.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js/panels/css-panel') 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 157d99de..4a09d5f3 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 @@ -110,7 +110,7 @@ exports.StylesViewContainer = Montage.create(Component, { } }, handleSelectionChange: { - value: function() { + value: function(e) { var elements = this.application.ninja.selectedElements, elementsCopy = this._copy(elements); -- cgit v1.2.3