Enhancing social media button responsiveness (focus styles).

This commit is contained in:
Daniel Scalzi committed 2018-04-29 22:36:28 -04:00
1 parent 39fd7e19ef
commit 252b82a944
3 files changed
+22 -11

No files matched your search

+1 -1
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()