Merge branch 'release' into staging

This commit is contained in:
Cohee 2023-11-12 23:29:13 +02:00
commit 8ff4599e8a
1 changed files with 5 additions and 2 deletions

View File

@ -9088,8 +9088,11 @@ jQuery(async function () {
}
});
let manualInputTimeout;
$(document).on('input', '.range-block-counter input, .neo-range-input', function () {
setTimeout(() => {
clearTimeout(manualInputTimeout);
manualInputTimeout = setTimeout(() => {
const caretPosition = saveCaretPosition($(this).get(0));
const myText = $(this).val().trim();
$(this).val(myText); // trim line breaks and spaces
@ -9155,7 +9158,7 @@ jQuery(async function () {
restoreCaretPosition($(this).get(0), caretPosition);
}, 2000);
})
});
$(".user_stats_button").on('click', function () {
userStatsHandler();