aboutsummaryrefslogtreecommitdiff
path: root/js/mediators/drag-drop-mediator.js
diff options
context:
space:
mode:
authorValerio Virgillito2012-02-08 11:33:42 -0800
committerValerio Virgillito2012-02-08 11:33:42 -0800
commit10cdeb52403f16d5d4be43a516e8cdfbc866a2a2 (patch)
treec37e41683d633263271d5c1e574f067dab6c34e8 /js/mediators/drag-drop-mediator.js
parent24f9717f2714f0497382436c4602736283247cf1 (diff)
parent9a404b8a717d0aac0eabb828a4d3cdc8c9c3eed8 (diff)
downloadninja-10cdeb52403f16d5d4be43a516e8cdfbc866a2a2.tar.gz
Merge pull request #21 from mencio/pi_bugs
Pi bugs fixes for 964, 616, 1084
Diffstat (limited to 'js/mediators/drag-drop-mediator.js')
-rw-r--r--js/mediators/drag-drop-mediator.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/mediators/drag-drop-mediator.js b/js/mediators/drag-drop-mediator.js
index aacb228c..ede71383 100644
--- a/js/mediators/drag-drop-mediator.js
+++ b/js/mediators/drag-drop-mediator.js
@@ -122,7 +122,7 @@ exports.DragDropMediator = Montage.create(Component, {
122 122
123 NJUtils.makeElementModel(domElem, "SVG", "block"); 123 NJUtils.makeElementModel(domElem, "SVG", "block");
124 } else { // treat as a regular image 124 } else { // treat as a regular image
125 domElem = NJUtils.makeNJElement("image", "Image", "block"); 125 domElem = NJUtils.makeNJElement("image", "image", "image");
126 domElem.src = evt2.currentTarget.result; 126 domElem.src = evt2.currentTarget.result;
127 } 127 }
128 128