Skip to content

Commit

Permalink
Merge pull request #820 from alleyinteractive/update/fieldmanager-loa…
Browse files Browse the repository at this point in the history
…der-timing

Loader: Fix loader callback timing
  • Loading branch information
Joe McGill authored Dec 14, 2021
2 parents 12f37da + 999fad6 commit e905fc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/fieldmanager-loader.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ function fmLoadModule( callback ) {
*/
if (
wp.data.select( 'core/edit-post' ).areMetaBoxesInitialized()
&& document.querySelector( '.edit-post-meta-boxes-area__container' )
&& document.querySelector( '.edit-post-meta-boxes-area__container .metabox-location-normal' )
) {
callback();
unsubscribeListener();
Expand Down

0 comments on commit e905fc3

Please sign in to comment.