diff options
-rw-r--r-- | src/app.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/app.js b/src/app.js index b539ea494..a0b88611c 100644 --- a/src/app.js +++ b/src/app.js | |||
@@ -101,3 +101,7 @@ window.addEventListener('load', () => { | |||
101 | }; | 101 | }; |
102 | window.franz.render(); | 102 | window.franz.render(); |
103 | }); | 103 | }); |
104 | |||
105 | // Prevent drag and drop into window from redirecting | ||
106 | window.addEventListener('dragover', event => event.preventDefault()); | ||
107 | window.addEventListener('drop', event => event.preventDefault()); | ||