Fix Firefox number arrows not updating the slider

This commit is contained in:
Cohee
2023-12-23 16:09:03 +02:00
parent b7a338e130
commit db3bf42d63

View File

@ -9580,6 +9580,10 @@ jQuery(async function () {
$('.range-block-counter input, .neo-range-input').on('click', function () { $('.range-block-counter input, .neo-range-input').on('click', function () {
valueBeforeManualInput = $(this).val(); valueBeforeManualInput = $(this).val();
console.log(valueBeforeManualInput); console.log(valueBeforeManualInput);
})
.on('change', function (e) {
e.target.focus();
e.target.dispatchEvent(new Event('keyup'));
}) })
.on('keydown', function (e) { .on('keydown', function (e) {
const masterSelector = '#' + $(this).data('for'); const masterSelector = '#' + $(this).data('for');