Skip to content

Commit e905fc3

Browse files
author
Joe McGill
authored
Merge pull request #820 from alleyinteractive/update/fieldmanager-loader-timing
Loader: Fix loader callback timing
2 parents 12f37da + 999fad6 commit e905fc3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/fieldmanager-loader.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ function fmLoadModule( callback ) {
2626
*/
2727
if (
2828
wp.data.select( 'core/edit-post' ).areMetaBoxesInitialized()
29-
&& document.querySelector( '.edit-post-meta-boxes-area__container' )
29+
&& document.querySelector( '.edit-post-meta-boxes-area__container .metabox-location-normal' )
3030
) {
3131
callback();
3232
unsubscribeListener();

0 commit comments

Comments
 (0)