1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-16 04:45:24 +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:
cTn 2014-12-05 13:54:32 +01:00
parent 78b92ab5e7
commit 3577632ce2

View file

@ -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')),