mirror of
https://github.com/open-webui/open-webui.git
synced 2026-11-24 06:20:20 -05:00
Default to true
This commit is contained in:
1 parent
948d29b676
commit
482a7723b2
1 file changed
+2
-2
@@ -146,7 +146,7 @@
|
||||
|
||||
await tick();
|
||||
|
||||
if ($settings.scrollOnBranchChange) {
|
||||
if ($settings?.scrollOnBranchChange ?? true) {
|
||||
const element = document.getElementById('messages-container');
|
||||
autoScroll = element.scrollHeight - element.scrollTop <= element.clientHeight + 50;
|
||||
|
||||
@@ -197,7 +197,7 @@
|
||||
|
||||
await tick();
|
||||
|
||||
if ($settings.scrollOnBranchChange) {
|
||||
if ($settings?.scrollOnBranchChange ?? true) {
|
||||
const element = document.getElementById('messages-container');
|
||||
autoScroll = element.scrollHeight - element.scrollTop <= element.clientHeight + 50;
|
||||
|
||||
|
||||
Reference in new issue
Block a user