修复聊天室滚屏开关失效
This commit is contained in:
@@ -64,8 +64,10 @@ export { bindChatToast } from "./chat-room/toast.js";
|
||||
export { bindChatComposerControls, setChatComposerAction } from "./chat-room/composer.js";
|
||||
export {
|
||||
isExpiredChatImageMessage,
|
||||
isAutoScrollEnabled,
|
||||
localClearScreen,
|
||||
scrollChatToBottom,
|
||||
setAutoScrollEnabled,
|
||||
syncAutoScrollControls,
|
||||
toggleAutoScroll,
|
||||
} from "./chat-room/message-utils.js";
|
||||
@@ -319,8 +321,10 @@ if (typeof window !== "undefined") {
|
||||
bindChatComposerControls,
|
||||
setChatComposerAction,
|
||||
isExpiredChatImageMessage,
|
||||
isAutoScrollEnabled,
|
||||
localClearScreen,
|
||||
scrollChatToBottom,
|
||||
setAutoScrollEnabled,
|
||||
syncAutoScrollControls,
|
||||
toggleAutoScroll,
|
||||
bindInstantHoverTooltip,
|
||||
@@ -592,8 +596,10 @@ if (typeof window !== "undefined") {
|
||||
// ── 静态核心模块 window 挂载 ──
|
||||
window.escapeHtml = escapeHtml;
|
||||
window.isExpiredChatImageMessage = isExpiredChatImageMessage;
|
||||
window.isChatAutoScrollEnabled = isAutoScrollEnabled;
|
||||
window.localClearScreen = localClearScreen;
|
||||
window.normalizeSafeChatUrl = normalizeSafeChatUrl;
|
||||
window.setChatAutoScrollEnabled = setAutoScrollEnabled;
|
||||
window.setAction = setChatComposerAction;
|
||||
window.syncAutoScrollControls = syncAutoScrollControls;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user