Make WordPress Core

Ticket #25946: 25946.10.patch

File 25946.10.patch, 1.7 KB (added by seanchayes, 11 years ago)
  • themes/twentyfourteen/js/featured-content-admin.js

     
     1/**
     2 * Theme Featured Content Admin file contributing to a
     3 * better user experience
     4 */
    15/* global ajaxurl:true */
    2 jQuery( function( $ ) {
     6( function( $ ) {
    37        $( '#customize-control-featured-content-tag-name input' ).suggest( ajaxurl + '?action=ajax-tag-search&tax=post_tag', { delay: 500, minchars: 2 } );
    4 } );
     8} )( jQuery );
  • themes/twentyfourteen/js/functions.js

     
     1/**
     2 * Theme functions file
     3 *
     4 * Contains handlers for navigation, accessibility, header sizing
     5 * footer widgets and Featured Content slider
     6 *
     7 */
    18( function( $ ) {
    29        var body    = $( 'body' ),
    310                _window = $( window );
  • themes/twentyfourteen/js/keyboard-image-navigation.js

     
    1 jQuery( function( $ ) {
     1/**
     2 * Code to support the use of keyboard for image navigation
     3 *
     4 */
     5( function( $ ) {
    26        $( document ).on( 'keydown.twentyfourteen', function( e ) {
    37                var url = false;
    48
     
    1519                        window.location = url;
    1620                }
    1721        } );
    18 } );
    19  No newline at end of file
     22} )( jQuery );
     23 No newline at end of file