Skip to content

Commit

Permalink
Merge pull request #11 from newfold-labs/update/apifetch-as-dependency
Browse files Browse the repository at this point in the history
require api-fetch script as dependency too
  • Loading branch information
circlecube authored Nov 3, 2023
2 parents 45b67e7 + 9661109 commit a759fb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/CTB.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public function ctb_scripts() {
wp_enqueue_script(
'newfold-global-ctb',
$assetsDir . 'ctb.js',
array( 'a11y-dialog', 'nfd-runtime' ),
array( 'a11y-dialog', 'wp-api-fetch', 'nfd-runtime' ),
container()->plugin()->version,
true
);
Expand Down

0 comments on commit a759fb1

Please sign in to comment.