Make WordPress Core

Ticket #30366: 30366.4.diff

File 30366.4.diff, 832 bytes (added by boonebgorges, 10 years ago)
  • src/wp-content/themes/twentyfifteen/js/functions.js

    diff --git src/wp-content/themes/twentyfifteen/js/functions.js src/wp-content/themes/twentyfifteen/js/functions.js
    index b410515..118cc01 100644
     
    88( function( $ ) {
    99        var $body, $window, $document, $sidebar, adminbarOffset, top = false,
    1010                bottom = false, windowWidth, windowHeight, lastWindowPos = 0,
    11                 topOffset = 0, documentHeight, sidebarWidth, sidebarHeight, resizeTimer;
     11                topOffset = 0, documentHeight, sidebarHeight, resizeTimer;
    1212
    1313        // Add dropdown toggle that display child menu items.
    1414        $( '.main-navigation .page_item_has_children > a, .main-navigation .menu-item-has-children > a' ).after( '<button class="dropdown-toggle" aria-expanded="false">' + screenReaderText.expand + '</button>' );