From 0b83ba6a402cb6fc2e2a023cd24902887082e80a Mon Sep 17 00:00:00 2001 From: Alistair McKinlay Date: Fri, 26 Jan 2018 08:52:51 +0000 Subject: [PATCH] Stop expanding condensed messages on /expand --- client/js/utils.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; }