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:
Brock Whittaker
2017-02-21 10:10:50 -08:00
parent e4008bcf1c
commit 021e43356f
4 changed files with 26 additions and 23 deletions

View File

@@ -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");