1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-16 12:55:19 +03:00

input validation works much better while using input event to do the manipulation

This commit is contained in:
cTn 2014-12-05 12:49:47 +01:00
parent e87c0ca4ee
commit 78b92ab5e7

View file

@ -214,7 +214,7 @@ $(document).ready(function () {
}
});
$("#content").on('change', 'input[type="number"]', function () {
$("#content").on('input', 'input[type="number"]', function () {
var element = $(this),
min = parseFloat(element.prop('min')),
max = parseFloat(element.prop('max')),