mirror of
https://github.com/lubosz/overte.git
synced 2025-04-15 17:20:29 +02:00
remove focus from advanced toggle when clicked
This commit is contained in:
parent
507621ca3a
commit
2c8d8decb8
1 changed files with 9 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue