mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-23 16:25:19 +03:00
Updated to allow switch names of up to 4 characters
This commit is contained in:
parent
4c0e196a18
commit
d2edfb1de2
3 changed files with 17 additions and 14 deletions
|
@ -53,6 +53,7 @@ var Settings = (function () {
|
|||
}
|
||||
} else if (s.setting.type == 'string') {
|
||||
input.val(s.value);
|
||||
input.attr('maxlength', s.setting.max);
|
||||
} else if (s.setting.type == 'float') {
|
||||
input.attr('type', 'number');
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue