Merge pull request #459 from philiparthurmoore/menu-a11y

a11y improvements on primary navigation menu toggle
This commit is contained in:
Philip Arthur Moore 2014-04-27 11:48:11 +07:00
commit 53f62fa23a
3 changed files with 2 additions and 3 deletions

View file

@ -10,7 +10,7 @@
if ( ! container )
return;
button = container.getElementsByTagName( 'h1' )[0];
button = container.getElementsByTagName( 'button' )[0];
if ( 'undefined' === typeof button )
return;