Skip to content

Commit 390009c

Browse files
committed
no need to enqueue minified file, public.js is minified by default
1 parent c4654eb commit 390009c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

class-wds-react-post-search.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ public function hooks() {
242242
*/
243243
public function enqueue_scripts() {
244244

245-
wp_register_script( 'wds-react-post-search', $this->url . 'assets/js/public.min.js', array( 'jquery' ), self::VERSION, true );
245+
wp_register_script( 'wds-react-post-search', $this->url . 'assets/js/public.js', array( 'jquery' ), self::VERSION, true );
246246
wp_register_style( 'wds-react-post-search-styles', $this->url . 'assets/css/wds-react-post-search.css', array(), self::VERSION );
247247

248248
wp_enqueue_script( 'wds-react-post-search' );

0 commit comments

Comments
 (0)