mirror of
https://github.com/open-webui/open-webui.git
synced 2026-12-02 01:42:53 -05:00
refac
This commit is contained in:
1 parent
d22b3f303a
commit
b51bf84835
1 file changed
+2
-3
@@ -305,10 +305,10 @@
|
||||
let messagesRef: Messages | undefined;
|
||||
|
||||
let autoScroll = true;
|
||||
let lastScrollTop = 0;
|
||||
let isNearTop = true;
|
||||
let processing = '';
|
||||
let messagesContainerElement: HTMLDivElement;
|
||||
$: lastScrollTop = messagesContainerElement?.scrollTop ?? 0;
|
||||
$: isNearTop = lastScrollTop <= 100;
|
||||
|
||||
let showEventConfirmation = false;
|
||||
let pendingUrlActions: { urls: string[]; call: boolean } | null = null;
|
||||
@@ -6344,7 +6344,6 @@
|
||||
scrollHeight - scrollTop <= clientHeight + 5 ||
|
||||
(autoScroll && scrollTop >= lastScrollTop);
|
||||
lastScrollTop = scrollTop;
|
||||
isNearTop = scrollTop <= 100;
|
||||
}}
|
||||
>
|
||||
<div class=" h-full w-full flex flex-col">
|
||||
|
||||
Reference in new issue
Block a user