mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-16 21:05:28 +03:00
extending implementation
This commit is contained in:
parent
3d5e333c6d
commit
98c587c3d9
1 changed files with 94 additions and 91 deletions
3
main.js
3
main.js
|
@ -170,6 +170,8 @@ function add_custom_spinners() {
|
|||
$('input[type="number"]').each(function() {
|
||||
var input = $(this);
|
||||
|
||||
// only add new spinner if one doesn't already exist
|
||||
if (!input.next().hasClass('spinner')) {
|
||||
var isInt = true;
|
||||
if (input.prop('step') == '') {
|
||||
isInt = true;
|
||||
|
@ -265,5 +267,6 @@ function add_custom_spinners() {
|
|||
|
||||
input.change();
|
||||
};
|
||||
}
|
||||
});
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue