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
1 changed files with 4 additions and 0 deletions

View File

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