mirror of
https://github.com/zulip/zulip.git
synced 2025-10-28 18:43:52 +00:00
Replace settings v1 toggle with v2 component toggle.
This replaces the settings toggle which had the same markup as the current component toggle, but not the same JavaScript, along with having an issue with inline-block spacing, with the new JS generated one.
This commit is contained in:
@@ -876,7 +876,7 @@ exports.launch_page = function (tab) {
|
||||
var $active_tab = $("#settings_overlay_container li[data-section='" + tab + "']");
|
||||
|
||||
if (!$active_tab.hasClass("admin")) {
|
||||
$(".sidebar .ind-tab[data-name='settings']").click();
|
||||
$(".sidebar .ind-tab[data-tab-key='settings']").click();
|
||||
}
|
||||
|
||||
$("#settings_overlay_container").addClass("show");
|
||||
|
||||
Reference in New Issue
Block a user