From 9ab7265053a7342f22c1457b930b14e53055a7c0 Mon Sep 17 00:00:00 2001 From: Cohee Date: Mon, 3 Jul 2023 18:17:10 +0300 Subject: [PATCH] Touch chat window to cancel auto scroll on mobile --- public/script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/script.js b/public/script.js index 4c02374e4..b834be20d 100644 --- a/public/script.js +++ b/public/script.js @@ -6489,7 +6489,7 @@ $(document).ready(function () { updateVisibleDivs('#rm_print_characters_block', true); }, 5)); - $("#chat").on('mousewheel', () => { + $("#chat").on('mousewheel touchstart', () => { scrollLock = true; });