Skip to content

Commit b158102

Browse files
committed
Merge pull request blueimp#3331 from darknessm0404/patch-1
dropZone fix for IE10+ compatibility
2 parents 5fbfa37 + 2867dff commit b158102

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

js/jquery.fileupload.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1260,7 +1260,8 @@
12601260
if (this._isXHRUpload(this.options)) {
12611261
this._on(this.options.dropZone, {
12621262
dragover: this._onDragOver,
1263-
drop: this._onDrop
1263+
drop: this._onDrop,
1264+
dragenter: function ignoreDrag(e) { e.preventDefault(); } //IE10+
12641265
});
12651266
this._on(this.options.pasteZone, {
12661267
paste: this._onPaste

0 commit comments

Comments
 (0)