aboutsummaryrefslogtreecommitdiff
path: root/beamer
diff options
context:
space:
mode:
Diffstat (limited to 'beamer')
-rw-r--r--beamer/viewer/viewer.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/beamer/viewer/viewer.js b/beamer/viewer/viewer.js
index 85f4a91..8101b02 100644
--- a/beamer/viewer/viewer.js
+++ b/beamer/viewer/viewer.js
@@ -70,6 +70,7 @@ class Viewer {
70 document.body.addEventListener("drop", function(event) { 70 document.body.addEventListener("drop", function(event) {
71 event.preventDefault(); 71 event.preventDefault();
72 event.stopPropagation(); 72 event.stopPropagation();
73 self.fileInput.files = event.dataTransfer.files;
73 self._readFile(event.dataTransfer.files[0]); 74 self._readFile(event.dataTransfer.files[0]);
74 }); 75 });
75 76