move js file to assets/js
This commit is contained in:
parent
8cce944edd
commit
18a8752c6a
2 changed files with 2 additions and 2 deletions
|
@ -191,9 +191,9 @@ class Admin {
|
||||||
if ( 'edit-comments.php' === $hook || 'tools_page_activitypub_tools' === $hook ) {
|
if ( 'edit-comments.php' === $hook || 'tools_page_activitypub_tools' === $hook ) {
|
||||||
\wp_enqueue_script(
|
\wp_enqueue_script(
|
||||||
'activitypub_actions',
|
'activitypub_actions',
|
||||||
\plugin_dir_url( __FILE__ ) . '/activitypub.js',
|
\plugin_dir_url( __FILE__ ) . '/assets/js/activitypub.js',
|
||||||
array( 'jquery' ),
|
array( 'jquery' ),
|
||||||
\filemtime( \plugin_dir_path( __FILE__ ) . '/activitypub.js' ),
|
\filemtime( \plugin_dir_path( __FILE__ ) . '/assets/js/activitypub.js' ),
|
||||||
true
|
true
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue