Skip to content

Commit

Permalink
fix($browser): Fixed issue Drag-andDrop does not work on IE 11
Browse files Browse the repository at this point in the history
  • Loading branch information
akserg committed Apr 1, 2016
1 parent 6997fcb commit 6537c31
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bundles/ng2-dnd.js
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,7 @@ System.registerDynamic("src/dnd.component", ["angular2/core", "./dnd.config", ".
_this._onDragStart(event);
if (event.dataTransfer != null) {
event.dataTransfer.effectAllowed = _this._config.dragEffect.name;
event.dataTransfer.setData('text/html', '');
event.dataTransfer.setData('text', '');
if (_this._config.dragImage != null) {
var dragImage = _this._config.dragImage;
event.dataTransfer.setDragImage(dragImage.imageElement, dragImage.x_offset, dragImage.y_offset);
Expand Down
Loading

0 comments on commit 6537c31

Please sign in to comment.