1
0
Fork 0
mirror of https://github.com/iNavFlight/inav-configurator.git synced 2025-07-24 16:55:22 +03:00
This commit is contained in:
Darren Lines 2022-10-17 18:56:33 +01:00
parent 57ac8a103c
commit 43b69d434a
3 changed files with 10 additions and 4 deletions

View file

@ -649,6 +649,11 @@ String.prototype.format = function () {
});
};
function padZeros(val, length) {
let str = val.toString();
return str.length < length ? padZeros("0" + str, length) : str;
};
function updateActivatedTab() {
var activeTab = $('#tabs > ul li.active');
activeTab.removeClass('active');