Skip to content

Commit 0d5b335

Browse files
committed
Prevent module from always being enqueued in admin
1 parent d9c2041 commit 0d5b335

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

html-api-debugger/html-api-debugger.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ function () {
7676
VERSION
7777
);
7878

79-
wp_enqueue_script_module(
79+
wp_register_script_module(
8080
'@html-api-debugger/main',
8181
plugins_url( 'main.js', __FILE__ ),
8282
array(

0 commit comments

Comments
 (0)