diff options
author | Valerio Virgillito | 2012-02-08 11:33:42 -0800 |
---|---|---|
committer | Valerio Virgillito | 2012-02-08 11:33:42 -0800 |
commit | 10cdeb52403f16d5d4be43a516e8cdfbc866a2a2 (patch) | |
tree | c37e41683d633263271d5c1e574f067dab6c34e8 /js/mediators/drag-drop-mediator.js | |
parent | 24f9717f2714f0497382436c4602736283247cf1 (diff) | |
parent | 9a404b8a717d0aac0eabb828a4d3cdc8c9c3eed8 (diff) | |
download | ninja-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.js | 2 |
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 | ||