remove focus from advanced toggle when clicked

This commit is contained in:
Stephen Birarda 2014-09-26 09:46:55 -07:00
parent 507621ca3a
commit 2c8d8decb8

View file

@ -58,7 +58,7 @@ $(document).ready(function(){
resizeFn();
$(window).resize(resizeFn);
});
})
$('#settings-form').on('change', 'input', function(){
// this input was changed, add the changed data attribute to it
@ -67,6 +67,12 @@ $(document).ready(function(){
badgeSidebarForDifferences($(this))
})
$('#setup-sidebar').on('click', '.list-group-item', function() {
// force this list group item to be active
$('#setup-sidebar li').removeClass('active')
$(this).parent('li').addClass('active')
})
$('#advanced-toggle-button').click(function(){
Settings.showAdvanced = !Settings.showAdvanced
var advancedSelector = $('.advanced-setting')
@ -78,6 +84,8 @@ $(document).ready(function(){
advancedSelector.hide()
$(this).html("Show advanced")
}
$(this).blur()
})
var panelsSource = $('#panels-template').html()