Twenty Fourteen: Wait for DOM ready in the customizer, which was breaking IE8.

props ocean90.
fixes #26445.

Built from https://develop.svn.wordpress.org/trunk@26706


git-svn-id: http://core.svn.wordpress.org/trunk@26595 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Nacin 2013-12-05 23:39:11 +00:00
parent 8a2accaa41
commit b1addd78ca
1 changed files with 3 additions and 1 deletions

View File

@ -4,5 +4,7 @@
*/ */
/* global ajaxurl:true */ /* global ajaxurl:true */
( function( $ ) { ( function( $ ) {
$( '#customize-control-featured-content-tag-name input' ).suggest( ajaxurl + '?action=ajax-tag-search&tax=post_tag', { delay: 500, minchars: 2 } ); $( 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 );