From 0bfdd9f1893b0e3dea7ddc09ea900aa2fe907566 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Thu, 5 Dec 2013 23:39:47 +0000 Subject: [PATCH] Remove redundant closure for such a simple file. see #26445. git-svn-id: https://develop.svn.wordpress.org/trunk@26707 602fd350-edb4-49c9-b593-d223f7449a82 --- .../themes/twentyfourteen/js/featured-content-admin.js | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/wp-content/themes/twentyfourteen/js/featured-content-admin.js b/src/wp-content/themes/twentyfourteen/js/featured-content-admin.js index fc758bf1d0..66f4c0718d 100644 --- a/src/wp-content/themes/twentyfourteen/js/featured-content-admin.js +++ b/src/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 } ); +});