Enhancing social media button responsiveness (focus styles).

This commit is contained in:
Daniel Scalzi
2018-04-29 22:36:28 -04:00
parent 39fd7e19ef
commit 252b82a944
3 changed files with 22 additions and 11 deletions

View File

@@ -20,7 +20,7 @@ function toggleOverlay(toggleState, dismissable = false, content = 'overlayConte
}
if(toggleState){
document.getElementById('main').setAttribute('overlay', true)
// Make things tabbable.
// Make things untabbable.
$("#main *").attr('tabindex', '-1')
$('#' + content).parent().children().hide()
$('#' + content).show()