Skip to content

Commit

Permalink
[FIX] Prevent unneceassary JS loading in the frontend
Browse files Browse the repository at this point in the history
  • Loading branch information
jdamner committed Dec 3, 2024
1 parent e463ee6 commit 9d3c1f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/iconography/includes/IconographyService.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public function init(): void {
add_action( 'wp_enqueue_scripts', array( $this, 'register_assets' ) );
add_action( 'wp_footer', array( $this, 'enqueue_assets' ), 1, 0 );
add_action( 'enqueue_block_assets', array( $this, 'register_assets' ), 1, 0 );
add_action( 'enqueue_block_assets', array( $this, 'enqueue_editor_scripts' ) );
add_action( 'enqueue_block_editor_assets', array( $this, 'enqueue_editor_scripts' ) );
add_action( 'enqueue_block_assets', array( $this, 'enqueue_all_assets' ) );
}

Expand Down

0 comments on commit 9d3c1f0

Please sign in to comment.