Skip to content
This repository has been archived by the owner on Jun 20, 2022. It is now read-only.

Commit

Permalink
feat: enable dragging and dropping files
Browse files Browse the repository at this point in the history
fixes #534
  • Loading branch information
arielsvg committed Apr 30, 2020
1 parent a351986 commit d7d7a30
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions app/javascripts/renderer/renderer.js
Expand Up @@ -33,10 +33,6 @@ async function configureWindow(bridge) {

window.electronAppVersion = appVersion;

// disable drag-n-drop of file in the app
document.addEventListener('dragover', (event) => event.preventDefault());
document.addEventListener('drop', (event) => event.preventDefault());

/*
Title bar events
*/
Expand Down

0 comments on commit d7d7a30

Please sign in to comment.