mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-03-22 13:30:05 +01:00
Fixes setParentFolderLabels=false.
This commit is contained in:
parent
47d73c656b
commit
ede9f4d3f8
@ -151,14 +151,11 @@ modulejs.define('ext/l10n', ['_', '$', 'core/settings', 'core/langs', 'core/form
|
||||
|
||||
init = function () {
|
||||
|
||||
if (!settings.enabled) {
|
||||
event.sub('ready', function () { update(); });
|
||||
return;
|
||||
if (settings.enabled) {
|
||||
initLangSelector(langs);
|
||||
}
|
||||
|
||||
initLangSelector(langs);
|
||||
|
||||
event.sub('ready', function () {
|
||||
event.sub('location.changed', function () {
|
||||
|
||||
localize(langs, settings.lang, settings.useBrowserLang);
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user