confusion

This commit is contained in:
2026-07-18 15:58:59 +02:00
parent ce54ed460d
commit d4eb0e52d8
3 changed files with 34 additions and 17 deletions

View File

@@ -3808,6 +3808,11 @@ class CommentSystem {
toggleComments() {
if (!this.container) return;
if (document.body.classList.contains('layout-modern') && typeof window.toggleSidebarLeft === 'function') {
window.toggleSidebarLeft();
return;
}
const layout = this.container.closest('.item-layout-container');
const sidebar = this.container.closest('.item-sidebar-left');
const siblings = sidebar ? [