Skip to content

Commit 7d66b2a

Browse files
committed
enqueue helper script in footer
1 parent 5ca2bbf commit 7d66b2a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

inc/class-spcl.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,8 @@ public static function enqueue_block_editor_asset() {
8989
'spcl-block-editor-script',
9090
plugins_url( 'assets/js/notice.min.js', dirname( __FILE__ ) ),
9191
array( 'wp-dom-ready', 'wp-data' ),
92-
SPCL_VERSION
92+
SPCL_VERSION,
93+
array( 'in_footer' => true )
9394
);
9495

9596
// Add nonce for AJAX request.

0 commit comments

Comments
 (0)