1
0
Fork 0
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:
Darren Lines 2022-01-09 14:11:24 +00:00
parent 4c0e196a18
commit d2edfb1de2
3 changed files with 17 additions and 14 deletions

View file

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