Plugin Directory

Changeset 2299592


Ignore:
Timestamp:
05/06/2020 06:30:57 PM (6 years ago)
Author:
webmarcello
Message:

fixing JS issues

Location:
wp-phone-message/trunk/includes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • wp-phone-message/trunk/includes/WpPhoneMessageAdmin.php

    r2298356 r2299592  
    101101            wp_enqueue_script('wp-phone-message-intel-tel', PLUGIN_WPM_URL . 'js/intl-tel-input/build/js/intlTelInput.js' );
    102102            wp_enqueue_style('wp-phone-message-admin', PLUGIN_WPM_URL . 'css/admin.min.css', array(), null, 'all' );
    103             wp_enqueue_script('wp-phone-message-admin', PLUGIN_WPM_URL . 'js/admin.min.js' );
     103            wp_enqueue_script('wp-phone-message-admin', PLUGIN_WPM_URL . 'js/admin.min.js', array( 'jquery' ), '1.0.0', true );
    104104        }
    105105
  • wp-phone-message/trunk/includes/WpPhoneMessageShortcode.php

    r2254582 r2299592  
    2020        public function shortcodeStyle(){
    2121            wp_enqueue_style('wp-phone-message-shortcode', PLUGIN_WPM_URL . 'css/shortcode.min.css', array(), null, 'all' );
    22             wp_enqueue_script('wp-phone-message-shortcode', PLUGIN_WPM_URL . 'js/shortcode.min.js' );
     22            wp_enqueue_script('wp-phone-message-shortcode', PLUGIN_WPM_URL . 'js/shortcode.min.js', array( 'jquery' ), '1.0.0', true );
    2323        }
    2424    }
Note: See TracChangeset for help on using the changeset viewer.