From fc9ab0a6ec57b5d44632811a87fbb3eef9bd76b3 Mon Sep 17 00:00:00 2001 From: LebCit Date: Sat, 9 Jan 2021 02:45:40 +0200 Subject: [PATCH] Removing jQuery dependencies. --- class-full-screen-morphing-search.php | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/class-full-screen-morphing-search.php b/class-full-screen-morphing-search.php index 7961ad1..b228c89 100644 --- a/class-full-screen-morphing-search.php +++ b/class-full-screen-morphing-search.php @@ -55,13 +55,6 @@ class Full_Screen_Morphing_Search { // Load CSS. wp_enqueue_style( $this->plugin->name, $this->plugin->url . 'assets/css/full-screen-morphing-search.css', array(), '1.0', false ); - // Require WordPress jQuery. - wp_enqueue_script( 'jquery' ); - - // Require jquery-ui-core and jquery-ui-autocomplete for autocompletition search ! - wp_enqueue_script( 'jquery-ui-core' ); - wp_enqueue_script( 'jquery-ui-autocomplete' ); - // Load Javascript. wp_enqueue_script( $this->plugin->name, $this->plugin->url . 'assets/js/full-screen-morphing-search.js', array( 'jquery' ), '1.0', true ); @@ -109,7 +102,7 @@ class Full_Screen_Morphing_Search {