tajik recitation fix

This commit is contained in:
Hamid Reza Mohammadi 2026-09-12 13:28:23 +03:30
parent 652c9ac43e
commit 91bfd79465

View File

@ -27,8 +27,10 @@
document.cookie = name + '=' + encodeURIComponent(value) + '; expires=' + expires + '; path=/'; document.cookie = name + '=' + encodeURIComponent(value) + '; expires=' + expires + '; path=/';
} }
// default: on, matching the previously-unconditional auto-scroll behavior // default: off - the previously-unconditional auto-scroll was reported
var scrollLock = getCookie('tgScrollLock') !== 'false'; // as confusing (users didn't know how to turn it off), so now it starts
// disabled and only turns on if a user explicitly enables it
var scrollLock = getCookie('tgScrollLock') === 'true';
function updateLockIcon() { function updateLockIcon() {
var icon = document.getElementById('tg-sticky-lock-icon'); var icon = document.getElementById('tg-sticky-lock-icon');