mirror of
https://github.com/zulip/zulip.git
synced 2025-11-12 09:58:06 +00:00
settings: Wait for i18n setup before rendering settings nav.
Much like the parent commit and 038a2c769, but this time for the
"Settings"/"Organization" nav at the upper-left of the settings overlay.
This commit is contained in:
@@ -721,7 +721,7 @@ $(function () {
|
||||
$(".settings-section" + sel + ", .settings-wrapper" + sel).addClass("show");
|
||||
});
|
||||
|
||||
(function () {
|
||||
(i18n.ensure_i18n(function () {
|
||||
var settings_toggle = components.toggle({
|
||||
name: "settings-toggle",
|
||||
values: [
|
||||
@@ -747,7 +747,7 @@ $(function () {
|
||||
|
||||
$("#settings_overlay_container .tab-container")
|
||||
.append(settings_toggle);
|
||||
}());
|
||||
}));
|
||||
});
|
||||
|
||||
return exports;
|
||||
|
||||
Reference in New Issue
Block a user