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

git-svn-id: https://develop.svn.wordpress.org/trunk@31675 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz 2015-03-08 04:53:35 +00:00
parent 63ffcc96f3
commit a88e5fcadb
2 changed files with 4 additions and 5 deletions

View File

@ -751,6 +751,10 @@
renderDetectedMedia();
$( document ).on( 'tinymce-editor-init', renderSuggestedContent );
renderStartupNotices();
if ( window.tagBox ) {
window.tagBox.init();
}
}
/**

View File

@ -194,9 +194,4 @@ var tagBox, array_unique_noempty;
});
}
};
$( document ).ready( function() {
tagBox.init();
});
}( jQuery ));