aboutsummaryrefslogtreecommitdiffstats
path: root/src/client/Buttons.hx
diff options
context:
space:
mode:
authorRblSb <msrblsb@gmail.com>2020-04-26 06:14:07 +0300
committerRblSb <msrblsb@gmail.com>2020-04-26 11:00:30 +0300
commite0f2520fb03ed07a38e96c012c0f599b2fbe7f04 (patch)
tree3b990453720b8193350ab5557abd410119160dd6 /src/client/Buttons.hx
parent3c5fda212a8b895027c3853d9979b12a8f6c5798 (diff)
Fix autoscroll with unloaded images
Diffstat (limited to 'src/client/Buttons.hx')
-rw-r--r--src/client/Buttons.hx2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/Buttons.hx b/src/client/Buttons.hx
index a7dd4e1..d4533bf 100644
--- a/src/client/Buttons.hx
+++ b/src/client/Buttons.hx
@@ -90,6 +90,7 @@ class Buttons {
settings.isExtendedPlayer = isExtended;
writeSplitSize();
window.dispatchEvent(new Event("resize"));
+ main.scrollChatToEnd();
}
if (settings.isExtendedPlayer) extendPlayer.onclick();
@@ -281,6 +282,7 @@ class Buttons {
initSplit();
swapLayoutBtn.blur();
hideMenus();
+ main.scrollChatToEnd();
}
if (settings.isSwapped) swapLayoutBtn.onclick();
final removeBtn = ge("#removeVideoBtn");
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage