aboutsummaryrefslogtreecommitdiff
path: root/js/panels/drag-drop-composer.js
diff options
context:
space:
mode:
authorEric Guzman2012-04-04 12:22:48 -0700
committerEric Guzman2012-04-04 12:22:48 -0700
commitb9d1eb3e330e486a31ba5d7de6902d8f5b023860 (patch)
tree48d1e0da4dcabe4e96442c8fc810fcbd045344a7 /js/panels/drag-drop-composer.js
parentbacc278a3729f4e6fd6ebb9971d6d47a90e58b36 (diff)
parent8482e23cd9b8c4700b5130f2588e5eb24d376536 (diff)
downloadninja-b9d1eb3e330e486a31ba5d7de6902d8f5b023860.tar.gz
Merge branch 'refs/heads/master' into PresetsPI
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 },