Skip to content

Commit 8e07bdf

Browse files
author
Joe McGill
authored
Merge pull request #819 from alleyinteractive/update/815-spacing-followup
Make parenthesis spacing consistent
2 parents 754f101 + 683ba84 commit 8e07bdf

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

js/fieldmanager-loader.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ function fmLoadModule( callback ) {
1111
* after the metaboxes are initialized.
1212
*/
1313
const wrappedCallback = () => {
14-
if (document.querySelector('.block-editor-page')) {
15-
const unsubscribeListener = wp.data.subscribe(() => {
14+
if ( document.querySelector( '.block-editor-page' ) ) {
15+
const unsubscribeListener = wp.data.subscribe( () => {
1616
/**
1717
* `areMetaBoxesInitialized` is called immediately before the
1818
* `MetaBoxesArea` component is rendered, which is where the metabox
@@ -26,12 +26,12 @@ 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' )
3030
) {
3131
callback();
3232
unsubscribeListener();
3333
}
34-
});
34+
} );
3535
} else {
3636
callback();
3737
}

0 commit comments

Comments
 (0)