This commit is contained in:
Timothy Jaeryang Baek 2025-03-10 11:16:30 +00:00
parent 116e0559f6
commit c2046b9247
1 changed files with 12 additions and 2 deletions

View File

@ -86,7 +86,12 @@
<div>
<button
class=" p-5"
on:click={() => {
on:pointerdown={(e) => {
e.stopImmediatePropagation();
e.preventDefault();
show = false;
}}
on:click={(e) => {
show = false;
}}
>
@ -106,7 +111,12 @@
<div>
<button
class=" p-5"
on:click={() => {
on:pointerdown={(e) => {
e.stopImmediatePropagation();
e.preventDefault();
downloadImage(src, src.substring(src.lastIndexOf('/') + 1), alt);
}}
on:click={(e) => {
downloadImage(src, src.substring(src.lastIndexOf('/') + 1), alt);
}}
>