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
3790790a
Commit
3790790a
authored
Mar 12, 2024
by
Timothy J. Baek
Browse files
fix: possible fix for #1139
parent
5a567ce4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
src/routes/(app)/+page.svelte
src/routes/(app)/+page.svelte
+3
-1
src/routes/(app)/c/[id]/+page.svelte
src/routes/(app)/c/[id]/+page.svelte
+3
-1
No files found.
src/routes/(app)/+page.svelte
View file @
3790790a
...
...
@@ -140,7 +140,9 @@
};
const
scrollToBottom
=
()
=>
{
messagesContainerElement
.
scrollTop
=
messagesContainerElement
.
scrollHeight
;
if
(
messagesContainerElement
)
{
messagesContainerElement
.
scrollTop
=
messagesContainerElement
.
scrollHeight
;
}
};
//////////////////////////
...
...
src/routes/(app)/c/[id]/+page.svelte
View file @
3790790a
...
...
@@ -160,7 +160,9 @@
};
const
scrollToBottom
=
()
=>
{
messagesContainerElement
.
scrollTop
=
messagesContainerElement
.
scrollHeight
;
if
(
messagesContainerElement
)
{
messagesContainerElement
.
scrollTop
=
messagesContainerElement
.
scrollHeight
;
}
};
//////////////////////////
...
...
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