mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Fix Firefox number arrows not updating the slider
This commit is contained in:
@ -9581,6 +9581,10 @@ jQuery(async 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');
|
||||||
const masterElement = $(masterSelector);
|
const masterElement = $(masterSelector);
|
||||||
|
Reference in New Issue
Block a user