summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'themes/twentysixteen/js/functions.js')
-rw-r--r--themes/twentysixteen/js/functions.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/twentysixteen/js/functions.js b/themes/twentysixteen/js/functions.js
index a15af117..d7aed1bd 100644
--- a/themes/twentysixteen/js/functions.js
+++ b/themes/twentysixteen/js/functions.js
@@ -28,7 +28,7 @@
// Add menu items with submenus to aria-haspopup="true".
container.find( '.menu-item-has-children' ).attr( 'aria-haspopup', 'true' );
- container.find( '.dropdown-toggle' ).click( function( e ) {
+ container.find( '.dropdown-toggle' ).on( 'click', function( e ) {
var _this = $( this ),
screenReaderSpan = _this.find( '.screen-reader-text' );