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:
parent
63ffcc96f3
commit
a88e5fcadb
@ -751,6 +751,10 @@
|
||||
renderDetectedMedia();
|
||||
$( document ).on( 'tinymce-editor-init', renderSuggestedContent );
|
||||
renderStartupNotices();
|
||||
|
||||
if ( window.tagBox ) {
|
||||
window.tagBox.init();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -194,9 +194,4 @@ var tagBox, array_unique_noempty;
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
$( document ).ready( function() {
|
||||
tagBox.init();
|
||||
});
|
||||
|
||||
}( jQuery ));
|
||||
|
Loading…
x
Reference in New Issue
Block a user