aboutsummaryrefslogtreecommitdiff
path: root/js/panels/drag-drop-composer.js
diff options
context:
space:
mode:
authorValerio Virgillito2012-04-04 11:46:10 -0700
committerValerio Virgillito2012-04-04 11:46:10 -0700
commit7a29db3fed59c1637479443f74b2850e56b38f20 (patch)
treee73a69dde90a4588f3100feedf8edc3a8c54cc8e /js/panels/drag-drop-composer.js
parenta3d7527e9c1ea29d064205b14f6a75e843d49131 (diff)
parent211f514882144de8df69ebb2106f3b446be1dda0 (diff)
downloadninja-7a29db3fed59c1637479443f74b2850e56b38f20.tar.gz
Merge pull request #149 from dhg637/BugFixes
Bug fixes
Diffstat (limited to 'js/panels/drag-drop-composer.js')
-rw-r--r--js/panels/drag-drop-composer.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/js/panels/drag-drop-composer.js b/js/panels/drag-drop-composer.js
index b36c8334..4791bd6d 100644
--- a/js/panels/drag-drop-composer.js
+++ b/js/panels/drag-drop-composer.js
@@ -91,7 +91,9 @@ exports.DragDropComposer = Montage.create(Composer, {
91 e.stopImmediatePropagation(); 91 e.stopImmediatePropagation();
92 if (!this._dragover) { 92 if (!this._dragover) {
93 this._dragover = true; 93 this._dragover = true;
94 this.component.element.classList.add("dragOver"); 94 if (this.component.application.ninja.componentBeingDragged) {
95 this.component.element.classList.add("dragOver");
96 }
95 } 97 }
96 } 98 }
97 }, 99 },