From: Anthony Talarico Date: Wed, 27 Mar 2019 20:05:30 +0000 (-0400) Subject: releasing plugin, removing console statements X-Git-Tag: v1.0.0^2 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=189f71570f159d26ea6eb6fb8bac6d753f3ee5d0;p=WP-Plugins%2Fglm-funds.git releasing plugin, removing console statements --- diff --git a/funds.js b/funds.js index 3afcd35..7e84e9a 100644 --- a/funds.js +++ b/funds.js @@ -5,7 +5,6 @@ jQuery(function($){ } $(window).on('load', function(){ - console.log(window); $('.gform_wrapper').find('form').attr('autocomplete', 'off'); var tags = all_funds; var page = $('body'); diff --git a/glm-funds.php b/glm-funds.php index bce32ff..321220f 100644 --- a/glm-funds.php +++ b/glm-funds.php @@ -329,6 +329,6 @@ add_action('init', function(){ function glm_funds_enqueue_scripts() { wp_enqueue_script("jquery"); wp_enqueue_script('jquery-ui-autocomplete'); - wp_enqueue_script( 'form_ui', plugin_dir_url( __FILE__ ) . 'funds.js' ); + wp_enqueue_script( 'form_ui', plugin_dir_url( __FILE__ ) . 'funds.js', "", '1.0.0', true ); } add_action('wp_enqueue_scripts', 'glm_funds_enqueue_scripts'); \ No newline at end of file