mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2025-12-13 01:30:31 +08:00
partial fix for jumping slider
This commit is contained in:
parent
2512c6448c
commit
07fb731b21
@ -126,10 +126,11 @@ export var tools = new function() {
|
||||
};
|
||||
|
||||
el.onmouseup = el.ontouchend = function(event) {
|
||||
let value = el.value;
|
||||
event.preventDefault();
|
||||
clear_timer();
|
||||
el.execution_timer = setTimeout(function() {
|
||||
execute_callback(el.value);
|
||||
execute_callback(value);
|
||||
}, delay);
|
||||
};
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user