Skip to content

Commit

Permalink
Fix export container clicks
Browse files Browse the repository at this point in the history
  • Loading branch information
agatemosu committed Jul 24, 2024
1 parent 9d1dcd3 commit c759395
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions script.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,11 @@ document.addEventListener("dragover", (e) => {
});

document.addEventListener("mousedown", (e) => {
const pickrApp = e.target.closest(".pcr-app");
if (e.target.closest(".pcr-app")) {
return;
}

if (pickrApp) {
if (e.target.closest("#export-container")) {
return;
}

Expand Down

0 comments on commit c759395

Please sign in to comment.