Make WordPress Core

Changeset 26706


Ignore:
Timestamp:
12/05/2013 11:38:47 PM (12 years ago)
Author:
nacin
Message:

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

props ocean90.
fixes #26445.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyfourteen/js/featured-content-admin.js

    r26332 r26706  
    55/* global ajaxurl:true */
    66( function( $ ) {
    7     $( '#customize-control-featured-content-tag-name input' ).suggest( ajaxurl + '?action=ajax-tag-search&tax=post_tag', { delay: 500, minchars: 2 } );
     7    $( document ).ready( function() {
     8        $( '#customize-control-featured-content-tag-name input' ).suggest( ajaxurl + '?action=ajax-tag-search&tax=post_tag', { delay: 500, minchars: 2 } );
     9    });
    810} )( jQuery );
Note: See TracChangeset for help on using the changeset viewer.