WordPress.org

Make WordPress Core

Changeset 31675


Ignore:
Timestamp:
03/08/2015 04:53:35 AM (6 years ago)
Author:
azaozz
Message:

Fix tagBox init on the Edit Post screen. Props tyxla. Fixes #31558.

Location:
trunk/src/wp-admin/js
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/js/press-this.js

    r31654 r31675  
    752752            $( document ).on( 'tinymce-editor-init', renderSuggestedContent );
    753753            renderStartupNotices();
     754
     755            if ( window.tagBox ) {
     756                window.tagBox.init();
     757            }
    754758        }
    755759
  • trunk/src/wp-admin/js/tags-box.js

    r31607 r31675  
    195195        }
    196196    };
    197 
    198     $( document ).ready( function() {
    199         tagBox.init();
    200     });
    201 
    202197}( jQuery ));
Note: See TracChangeset for help on using the changeset viewer.