releasing plugin, removing console statements
authorAnthony Talarico <talarico@gaslightmedia.com>
Wed, 27 Mar 2019 20:05:30 +0000 (16:05 -0400)
committerAnthony Talarico <talarico@gaslightmedia.com>
Wed, 27 Mar 2019 20:05:30 +0000 (16:05 -0400)
funds.js
glm-funds.php

index 3afcd35..7e84e9a 100644 (file)
--- 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');
index bce32ff..321220f 100644 (file)
@@ -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