Skip to content

Commit

Permalink
fix drop file handler on chrome
Browse files Browse the repository at this point in the history
fix #85
  • Loading branch information
spessasus committed Dec 18, 2024
1 parent ebc2aa2 commit eef2b5d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "SpessaSynth",
"version": "3.23.7",
"version": "3.23.8",
"type": "module",
"scripts": {
"start": "node src/website/server/server.js",
Expand Down
2 changes: 1 addition & 1 deletion src/website/js/utils/drop_file_handler.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export class DropFileHandler
e.preventDefault();
dragPrompt.classList.remove("hidden");
});
document.body.addEventListener("dragleave", () =>
document.body.addEventListener("dragend", () =>
{
dragPrompt.classList.add("hidden");
});
Expand Down
2 changes: 1 addition & 1 deletion src/website/minified/demo_main.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/website/minified/local_main.min.js

Large diffs are not rendered by default.

0 comments on commit eef2b5d

Please sign in to comment.