Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
open-webui
Commits
110498ca
Commit
110498ca
authored
Dec 19, 2023
by
Timothy J. Baek
Browse files
fix: disable message image drag
parent
344c91e3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
src/lib/components/chat/Messages.svelte
src/lib/components/chat/Messages.svelte
+6
-1
No files found.
src/lib/components/chat/Messages.svelte
View file @
110498ca
...
@@ -469,7 +469,12 @@
...
@@ -469,7 +469,12 @@
{#each message.files as file}
{#each message.files as file}
<div>
<div>
{#if file.type === 'image'}
{#if file.type === 'image'}
<img
src=
{file.url}
alt=
"input"
class=
" max-h-96 rounded-lg"
/>
<img
src=
{file.url}
alt=
"input"
class=
" max-h-96 rounded-lg"
draggable=
"false"
/>
{/if}
{/if}
</div>
</div>
{/each}
{/each}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment