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:
parent
aa47d04fdb
commit
d56a170a5a
8 changed files with 17 additions and 47 deletions
|
@ -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();
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue