Skip to content
This repository was archived by the owner on Jun 10, 2026. It is now read-only.

Commit e3059c7

Browse files
author
Alex Stine
committed
Fix JS error.
1 parent 523c61f commit e3059c7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎public/partials/divi-accessibility-embedded-js.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -548,7 +548,7 @@ function skipTo(target) {
548548
/**
549549
* Mobile menu Aria support.
550550
*/
551-
$('.mobile_menu_bar_toggle').attr({'role': button, 'tabindex': 0});
551+
$('.mobile_menu_bar_toggle').attr({'role': 'button', 'tabindex': 0});
552552
$('.mobile_menu_bar_toggle').on('click', function() {
553553
if($(this).hasClass('a11y-mobile-menu-open') ) {
554554
$(this).removeClass('a11y-mobile-menu-open').attr('aria-expanded', 'false');

0 commit comments

Comments
 (0)