mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-09 08:10:15 +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();
|
resizeFn();
|
||||||
$(window).resize(resizeFn);
|
$(window).resize(resizeFn);
|
||||||
});
|
})
|
||||||
|
|
||||||
$('#settings-form').on('change', 'input', function(){
|
$('#settings-form').on('change', 'input', function(){
|
||||||
// this input was changed, add the changed data attribute to it
|
// this input was changed, add the changed data attribute to it
|
||||||
|
@ -67,6 +67,12 @@ $(document).ready(function(){
|
||||||
badgeSidebarForDifferences($(this))
|
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(){
|
$('#advanced-toggle-button').click(function(){
|
||||||
Settings.showAdvanced = !Settings.showAdvanced
|
Settings.showAdvanced = !Settings.showAdvanced
|
||||||
var advancedSelector = $('.advanced-setting')
|
var advancedSelector = $('.advanced-setting')
|
||||||
|
@ -78,6 +84,8 @@ $(document).ready(function(){
|
||||||
advancedSelector.hide()
|
advancedSelector.hide()
|
||||||
$(this).html("Show advanced")
|
$(this).html("Show advanced")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$(this).blur()
|
||||||
})
|
})
|
||||||
|
|
||||||
var panelsSource = $('#panels-template').html()
|
var panelsSource = $('#panels-template').html()
|
||||||
|
|
Loading…
Reference in a new issue