diff options
author | Devaev Maxim <[email protected]> | 2020-07-12 09:05:38 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2020-07-12 09:05:38 +0300 |
commit | 07fb731b215a560bdc0a89a1fd5c199d910034a3 (patch) | |
tree | e6d023a25a3897d3bb2a12f6d3e061095b8adef2 /web | |
parent | 2512c6448c76a2a78dfdf96852f57e8c643b5f35 (diff) |
partial fix for jumping slider
Diffstat (limited to 'web')
-rw-r--r-- | web/share/js/tools.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/web/share/js/tools.js b/web/share/js/tools.js index e9de1187..5bd41548 100644 --- a/web/share/js/tools.js +++ b/web/share/js/tools.js @@ -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); }; }; |