Verified Commit ccb9318d authored by Jan Loewe's avatar Jan Loewe 💬
Browse files

fix(dcc upload): fix drag and drop in IE

parent 7e1cc83f
Loading
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -172,7 +172,8 @@
        e.preventDefault();
      },
      dragEnter(e) {
        if (e.dataTransfer.types.includes("Files")) {
        // the first two checks are for IE
        if (e.dataTransfer.types.length > 0 && e.dataTransfer.types[0] === "Files" || e.dataTransfer.types.indexOf("Files") >= 0) {
          e.preventDefault();
          this.lastTarget = e.target;
          this.dropActive = true;