diff --git a/client/js/utils.js b/client/js/utils.js index 9d3e7ba8..239ef133 100644 --- a/client/js/utils.js +++ b/client/js/utils.js @@ -55,12 +55,12 @@ function forceFocus() { } function collapse() { - $(".chan.active .toggle-button.opened").click(); + $(".chan.active .toggle-button.toggle-preview.opened").click(); return true; } function expand() { - $(".chan.active .toggle-button:not(.opened)").click(); + $(".chan.active .toggle-button.toggle-preview:not(.opened)").click(); return true; }