mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-12 12:25:20 +00:00
refac
This commit is contained in:
parent
116e0559f6
commit
c2046b9247
1 changed files with 12 additions and 2 deletions
|
|
@ -86,7 +86,12 @@
|
||||||
<div>
|
<div>
|
||||||
<button
|
<button
|
||||||
class=" p-5"
|
class=" p-5"
|
||||||
on:click={() => {
|
on:pointerdown={(e) => {
|
||||||
|
e.stopImmediatePropagation();
|
||||||
|
e.preventDefault();
|
||||||
|
show = false;
|
||||||
|
}}
|
||||||
|
on:click={(e) => {
|
||||||
show = false;
|
show = false;
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
|
|
@ -106,7 +111,12 @@
|
||||||
<div>
|
<div>
|
||||||
<button
|
<button
|
||||||
class=" p-5"
|
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);
|
downloadImage(src, src.substring(src.lastIndexOf('/') + 1), alt);
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue