Make WordPress Core

Ticket #24767: 24767.4.diff

File 24767.4.diff, 630 bytes (added by babbardel, 10 years ago)

Updated fix for TwentyTwelve

  • src/wp-content/themes/twentytwelve/js/navigation.js

     
    4242        } );
    4343
    4444  if ( 'ontouchstart' in window ) {
    45     $( '.menu-item-has-children > a' ).on( 'touchstart.twentytwelve', function( e ) {
     45    $('body').on( 'touchstart.twentytwelve',  '.menu-item-has-children > a, .page_item_has_children > a', function( e ) {
    4646      var el = $( this ).parent( 'li' );
    4747
    4848      if ( ! el.hasClass( 'focus' ) ) {