Skip to content

Commit

Permalink
Fix JS error.
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Stine committed Oct 26, 2019
1 parent 523c61f commit e3059c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/partials/divi-accessibility-embedded-js.php
Original file line number Diff line number Diff line change
Expand Up @@ -548,7 +548,7 @@ function skipTo(target) {
/**
* Mobile menu Aria support.
*/
$('.mobile_menu_bar_toggle').attr({'role': button, 'tabindex': 0});
$('.mobile_menu_bar_toggle').attr({'role': 'button', 'tabindex': 0});
$('.mobile_menu_bar_toggle').on('click', function() {
if($(this).hasClass('a11y-mobile-menu-open') ) {
$(this).removeClass('a11y-mobile-menu-open').attr('aria-expanded', 'false');
Expand Down

0 comments on commit e3059c7

Please sign in to comment.