From b7c5823bbfb2a3907c25bc16e5321c4956abf7e0 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Thu, 5 Dec 2013 23:40:11 +0000 Subject: [PATCH] Remove redundant closure for such a simple file. see #26445. Built from https://develop.svn.wordpress.org/trunk@26707 git-svn-id: http://core.svn.wordpress.org/trunk@26596 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- .../themes/twentyfourteen/js/featured-content-admin.js | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/wp-content/themes/twentyfourteen/js/featured-content-admin.js b/wp-content/themes/twentyfourteen/js/featured-content-admin.js index fc758bf1d0..66f4c0718d 100644 --- a/wp-content/themes/twentyfourteen/js/featured-content-admin.js +++ b/wp-content/themes/twentyfourteen/js/featured-content-admin.js @@ -3,8 +3,7 @@ * when changing the tag. */ /* global ajaxurl:true */ -( function( $ ) { - $( document ).ready( function() { - $( '#customize-control-featured-content-tag-name input' ).suggest( ajaxurl + '?action=ajax-tag-search&tax=post_tag', { delay: 500, minchars: 2 } ); - }); -} )( jQuery ); + +jQuery( document ).ready( function( $ ) { + $( '#customize-control-featured-content-tag-name input' ).suggest( ajaxurl + '?action=ajax-tag-search&tax=post_tag', { delay: 500, minchars: 2 } ); +});