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:
parent
8a2accaa41
commit
b1addd78ca
|
@ -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 );
|
||||||
|
|
Loading…
Reference in New Issue