Plugin Directory

Changeset 3191982


Ignore:
Timestamp:
11/19/2024 08:59:00 AM (17 months ago)
Author:
covertcommunication
Message:

bug fix

Location:
solar-wizard-lite
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • solar-wizard-lite/tags/1.2.2/includes.php

    r3187362 r3191982  
    55    wp_enqueue_script( 'jquery-ui-datepicker');
    66    wp_enqueue_script( 'jquery-touch-punch' );
    7     wp_enqueue_script( 'sw_analytics', 'https://io.solarwizardplugin.com/cdn/swizsdk.js', array('jquery'), SOLWZD_VERSION, false );
     7    //wp_enqueue_script( 'sw_analytics', 'https://io.solarwizardplugin.com/cdn/swizsdk.js', array('jquery'), SOLWZD_VERSION, false );
    88    wp_enqueue_script( 'svg_script', plugin_dir_url( __FILE__ ) . 'js/svg-inject.min.js', array('jquery'), SOLWZD_VERSION, false );
    99    wp_enqueue_script( 'sw_script', plugin_dir_url( __FILE__ ) . 'js/custom.js', array('jquery'), SOLWZD_VERSION, false );
  • solar-wizard-lite/tags/1.2.2/js/custom.js

    r3187362 r3191982  
    22
    33    //push analytics
    4     $( document ).on( "click", ".describes-btn", function() {
     4    /*$( document ).on( "click", ".describes-btn", function() {
    55        var cform = jQuery(this).closest( "fieldset" );
    66        if(jQuery(cform).find('input[name="more_about"]:checked').length > 0){
     
    3535        window.SWIZSDK.event('consultation-type', jQuery(cform).find('input[name="communication_method"]:checked').val());
    3636        window.SWIZSDK.event('consultation-date', jQuery(cform).find('input[name="date"]').val());
    37     });
     37    });*/
    3838    //push analytics
    3939   
  • solar-wizard-lite/trunk/includes.php

    r3187362 r3191982  
    55    wp_enqueue_script( 'jquery-ui-datepicker');
    66    wp_enqueue_script( 'jquery-touch-punch' );
    7     wp_enqueue_script( 'sw_analytics', 'https://io.solarwizardplugin.com/cdn/swizsdk.js', array('jquery'), SOLWZD_VERSION, false );
     7    //wp_enqueue_script( 'sw_analytics', 'https://io.solarwizardplugin.com/cdn/swizsdk.js', array('jquery'), SOLWZD_VERSION, false );
    88    wp_enqueue_script( 'svg_script', plugin_dir_url( __FILE__ ) . 'js/svg-inject.min.js', array('jquery'), SOLWZD_VERSION, false );
    99    wp_enqueue_script( 'sw_script', plugin_dir_url( __FILE__ ) . 'js/custom.js', array('jquery'), SOLWZD_VERSION, false );
  • solar-wizard-lite/trunk/js/custom.js

    r3187362 r3191982  
    22
    33    //push analytics
    4     $( document ).on( "click", ".describes-btn", function() {
     4    /*$( document ).on( "click", ".describes-btn", function() {
    55        var cform = jQuery(this).closest( "fieldset" );
    66        if(jQuery(cform).find('input[name="more_about"]:checked').length > 0){
     
    3535        window.SWIZSDK.event('consultation-type', jQuery(cform).find('input[name="communication_method"]:checked').val());
    3636        window.SWIZSDK.event('consultation-date', jQuery(cform).find('input[name="date"]').val());
    37     });
     37    });*/
    3838    //push analytics
    3939   
Note: See TracChangeset for help on using the changeset viewer.