aboutsummaryrefslogtreecommitdiff
path: root/js/mediators/element-mediator.js
diff options
context:
space:
mode:
authorhwc4872012-02-06 13:09:32 -0800
committerhwc4872012-02-06 13:09:32 -0800
commit1a8c017e37c5c0dec445ebafad634ef997fcd1bb (patch)
tree3380cb8ef0636dc0f662a2903f759a41749c28e0 /js/mediators/element-mediator.js
parent465636cc0676d7fb83939d6fdb9204e474d47d46 (diff)
parent486d9a31a85dd833a1c798049a00403756703034 (diff)
downloadninja-1a8c017e37c5c0dec445ebafad634ef997fcd1bb.tar.gz
Merge branch 'ToolFixes' of github.com:mqg734/ninja-internal into working
Diffstat (limited to 'js/mediators/element-mediator.js')
-rw-r--r--js/mediators/element-mediator.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/mediators/element-mediator.js b/js/mediators/element-mediator.js
index 992ac620..c44e1cb5 100644
--- a/js/mediators/element-mediator.js
+++ b/js/mediators/element-mediator.js
@@ -48,10 +48,10 @@ exports.ElementMediator = Montage.create(NJComponent, {
48 len = this.application.ninja.selectedElements.length; 48 len = this.application.ninja.selectedElements.length;
49 49
50 if(len) { 50 if(len) {
51 for(var i = 0; i<len; i++) 51 for(var i = 0; i<len; i++) {
52 {
53 els.push(this.application.ninja.selectedElements[i]); 52 els.push(this.application.ninja.selectedElements[i]);
54 } 53 }
54
55 for(i=0; i<len; i++) { 55 for(i=0; i<len; i++) {
56 this._removeElement(els[i]._element); 56 this._removeElement(els[i]._element);
57 } 57 }