mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2025-12-13 17:50:29 +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) {
|
el.onmouseup = el.ontouchend = function(event) {
|
||||||
|
let value = el.value;
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
clear_timer();
|
clear_timer();
|
||||||
el.execution_timer = setTimeout(function() {
|
el.execution_timer = setTimeout(function() {
|
||||||
execute_callback(el.value);
|
execute_callback(value);
|
||||||
}, delay);
|
}, delay);
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user