Update ui.js

This commit is contained in:
anapnoe
2023-05-08 03:06:33 +03:00
committed by GitHub
parent 23d460d6ca
commit 1070ce24ee
+3 -1
View File
@@ -1124,10 +1124,12 @@ onUiUpdate(function(){
clone_num.value = e.target.value;
})
clone_range.addEventListener('change', function (e) {
e.preventDefault();
elem.value = clone_range.value;
updateInput(elem);
})
clone_num.addEventListener('input', function (e) {
clone_num.addEventListener('input', function (e) {
e.preventDefault();
clone_range.value = e.target.value;
})