mirror of
https://github.com/open-webui/open-webui
synced 2025-05-17 12:03:41 +00:00
refac
This commit is contained in:
parent
116e0559f6
commit
c2046b9247
@ -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);
|
||||
}}
|
||||
>
|
||||
|
Loading…
Reference in New Issue
Block a user