Skip to content

Commit fd3b610

Browse files
authored
Merge pull request #26 from SharinPix/remove-drag-and-drop
Remove drag and drop feature
2 parents 4028e95 + 04d42ef commit fd3b610

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

web/app.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -709,6 +709,7 @@ const PDFViewerApplication = {
709709
});
710710
});
711711

712+
/*
712713
// Enable dragging-and-dropping a new PDF file onto the viewerContainer.
713714
appConfig.mainContainer.addEventListener("dragover", function (evt) {
714715
for (const item of evt.dataTransfer.items) {
@@ -732,6 +733,7 @@ const PDFViewerApplication = {
732733
fileInput: evt.dataTransfer,
733734
});
734735
});
736+
*/
735737
}
736738

737739
if (!AppOptions.get("supportsDocumentFonts")) {

0 commit comments

Comments
 (0)