feat: add MessagesLayout class and replace inline scroll/focus script in messages template

This commit is contained in:
2026-06-11 13:14:13 +00:00
parent cad78d9313
commit 306fae4937
3 changed files with 42 additions and 16 deletions
+2
View File
@@ -4,6 +4,7 @@ import { FormManager } from "./FormManager.js";
import { VoteManager } from "./VoteManager.js";
import { NotificationManager } from "./NotificationManager.js";
import { MessageSearch } from "./MessageSearch.js";
import { MessagesLayout } from "./MessagesLayout.js";
import { ProfileEditor } from "./ProfileEditor.js";
import { MobileNav } from "./MobileNav.js";
import { CommentManager } from "./CommentManager.js";
@@ -36,6 +37,7 @@ class Application {
this.votes = new VoteManager();
this.notifications = new NotificationManager();
this.messageSearch = new MessageSearch();
this.messagesLayout = new MessagesLayout();
this.profile = new ProfileEditor();
this.mobileNav = new MobileNav();
this.comments = new CommentManager();