Ticket #25946: 25946.10.patch
File 25946.10.patch, 1.7 KB (added by , 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 */ 1 5 /* global ajaxurl:true */ 2 jQuery( function( $ ) {6 ( function( $ ) { 3 7 $( '#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 */ 1 8 ( function( $ ) { 2 9 var body = $( 'body' ), 3 10 _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( $ ) { 2 6 $( document ).on( 'keydown.twentyfourteen', function( e ) { 3 7 var url = false; 4 8 … … 15 19 window.location = url; 16 20 } 17 21 } ); 18 } ) ;19 No newline at end of file 22 } )( jQuery ); 23 No newline at end of file