mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-16 21:05:35 +03:00
Revert "input validation works much better while using input event to do the manipulation"
This reverts commit 78b92ab5e7
.
This commit is contained in:
parent
78b92ab5e7
commit
3577632ce2
1 changed files with 1 additions and 1 deletions
2
main.js
2
main.js
|
@ -214,7 +214,7 @@ $(document).ready(function () {
|
|||
}
|
||||
});
|
||||
|
||||
$("#content").on('input', 'input[type="number"]', function () {
|
||||
$("#content").on('change', 'input[type="number"]', function () {
|
||||
var element = $(this),
|
||||
min = parseFloat(element.prop('min')),
|
||||
max = parseFloat(element.prop('max')),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue