Make WordPress Core

Ticket #26031: 26031.2.diff

File 26031.2.diff, 925 bytes (added by dougwollison, 12 years ago)

Just the jshint fixes.

  • functions.js

     
    11( function( $ ) {
    22        var body    = $( 'body' ),
    3             _window = $( window );
     3                _window = $( window );
    44
    55        // Enable menu toggle for small screens.
    66        ( function() {
     
    4848                // Search toggle.
    4949                $( '.search-toggle' ).on( 'click.twentyfourteen', function() {
    5050                        var that    = $( this ),
    51                             wrapper = $( '.search-box-wrapper' );
     51                                wrapper = $( '.search-box-wrapper' );
    5252
    5353                        that.toggleClass( 'active' );
    5454                        wrapper.toggleClass( 'hide' );
     
    6565                 * The callback on the scroll event is only added if there is a header
    6666                 * image and we are not on mobile.
    6767                 */
    68                  if ( _window.width() > 781 ) {
     68                if ( _window.width() > 781 ) {
    6969                        var mastheadHeight = $( '#masthead' ).height(),
    7070                                toolbarOffset, mastheadOffset;
    7171