Stop expanding condensed messages on /expand

This commit is contained in:
Alistair McKinlay 2018-01-26 08:52:51 +00:00
parent b2eebfa65e
commit 0b83ba6a40

View file

@ -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;
}