move js file to assets/js

This commit is contained in:
Django Doucet 2022-11-15 12:19:38 -07:00
parent 8cce944edd
commit 18a8752c6a
2 changed files with 2 additions and 2 deletions

View file

@ -191,9 +191,9 @@ class Admin {
if ( 'edit-comments.php' === $hook || 'tools_page_activitypub_tools' === $hook ) {
\wp_enqueue_script(
'activitypub_actions',
\plugin_dir_url( __FILE__ ) . '/activitypub.js',
\plugin_dir_url( __FILE__ ) . '/assets/js/activitypub.js',
array( 'jquery' ),
\filemtime( \plugin_dir_path( __FILE__ ) . '/activitypub.js' ),
\filemtime( \plugin_dir_path( __FILE__ ) . '/assets/js/activitypub.js' ),
true
);
}