1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-17 21:35:33 +03:00
betaflight-configurator/tabs/help.js
Dominic Clifton d73196ea11 Fix toggle buttons reverting to checkboxes after reboot.
This moves GUI specific code out of main and the individual tab js files
into gui.js, where it fits better.
2015-11-11 21:01:22 +00:00

21 lines
No EOL
420 B
JavaScript

'use strict';
TABS.help = {};
TABS.help.initialize = function (callback) {
var self = this;
if (GUI.active_tab != 'help') {
GUI.active_tab = 'help';
googleAnalytics.sendAppView('help');
}
$('#content').load("./tabs/help.html", function () {
localize();
GUI.content_ready(callback);
});
};
TABS.help.cleanup = function (callback) {
if (callback) callback();
};