diff options
author | Eric Guzman | 2012-04-04 13:10:36 -0700 |
---|---|---|
committer | Eric Guzman | 2012-04-04 13:10:36 -0700 |
commit | 72697c2a48480509cd89ac506d8a4873f2853fd4 (patch) | |
tree | 66d24fd4e298c545b4ddcaa6e000a462d3d9c55f /js/panels/drag-drop-composer.js | |
parent | c394a1cf04bbf3b9ad3003ec86498a30d00926bb (diff) | |
parent | 8482e23cd9b8c4700b5130f2588e5eb24d376536 (diff) | |
download | ninja-72697c2a48480509cd89ac506d8a4873f2853fd4.tar.gz |
Merge branch 'refs/heads/master' into CSSPanelUpdates
Diffstat (limited to 'js/panels/drag-drop-composer.js')
-rw-r--r-- | js/panels/drag-drop-composer.js | 4 |
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 | }, |