betaflight-configurator/tabs/help.js

21 lines
417 B
JavaScript
Raw Normal View History

'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();
if (callback) callback();
});
};
TABS.help.cleanup = function (callback) {
if (callback) callback();
};