a11y improvements on primary navigation menu toggle
This commit is contained in:
parent
34aa212143
commit
4b883e2aee
2 changed files with 2 additions and 2 deletions
|
@ -10,7 +10,7 @@
|
|||
if ( ! container )
|
||||
return;
|
||||
|
||||
button = container.getElementsByTagName( 'h1' )[0];
|
||||
button = container.getElementsByTagName( 'button' )[0];
|
||||
if ( 'undefined' === typeof button )
|
||||
return;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue