1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-21 07:15:15 +03:00

clean up some more code smells

duplicated CSS selectors

extraneous code.
This commit is contained in:
Kyle K 2019-10-03 21:52:02 +00:00
parent aa47d04fdb
commit d56a170a5a
8 changed files with 17 additions and 47 deletions

View file

@ -39,9 +39,6 @@ i18n.init = function(cb) {
});
// This function should do the same things that the i18n.localizePage function below does.
i18next.on('languageChanged', function (newLang) {
var translate = function(messageID) {
return i18n.getMessage(messageID);
};
i18n.localizePage(true);
updateStatusBarVersion();
});