Plugin Directory

Changeset 2218772


Ignore:
Timestamp:
12/27/2019 07:23:44 PM (6 years ago)
Author:
webxapp
Message:

Fixed: Js load if not active Smooth Scroll

Location:
scrollbar-by-webxapp
Files:
41 added
3 edited

Legend:

Unmodified
Added
Removed
  • scrollbar-by-webxapp/trunk/readme.txt

    r2203647 r2218772  
    55Tested up to: 5.3
    66Requires PHP: 5.2
    7 Stable tag: 1.0.5
     7Stable tag: 1.0.6
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    4343
    4444== Changelog ==
     45= 1.0.6 =
     46* Fixed: Js load if not active Smooth Scroll
     47
    4548= 1.0.5 =
    4649* Added: Tested up to 5.3
  • scrollbar-by-webxapp/trunk/wxacs.php

    r2203647 r2218772  
    33 * Plugin Name:     Scrollbar  by webxapp
    44 * Description:     Scrollbar WXA is best vertical/horizontal scrollbars plugin.
    5  * Version:         1.0.5
     5 * Version:         1.0.6
    66 * Author:          WebXApp
    77 * Author URI:      https://webxapp.com/
     
    2121
    2222if (!defined('WXACS_VERSION')) {
    23     define('WXACS_VERSION', "1.0.5");
     23    define('WXACS_VERSION', "1.0.6");
    2424}
    2525
  • scrollbar-by-webxapp/trunk/wxacs_class.php

    r2114444 r2218772  
    1818    public function enqueue_scripts(){
    1919        $class_list = "";
    20         wp_enqueue_script('wxacs_easeScroll_js', plugins_url('assets/js/jquery.easeScroll.js', __FILE__), array('jquery'), WXACS_VERSION, true);
    21         wp_enqueue_script('wxacs_front_script', plugins_url('assets/js/script.js', __FILE__), array('jquery','wxacs_easeScroll_js'), WXACS_VERSION, true);
    2220        if(isset($this->default_theme_id) && $this->default_theme_id>0){
    2321            $wxacs_ease_scroll = get_post_meta( $this->default_theme_id, 'wxacs_ease_scroll',true );
     
    2523                $wxacs_ease_scroll_params = get_post_meta( $this->default_theme_id, 'wxacs_ease_scroll_params',true );
    2624                if(is_array($wxacs_ease_scroll_params) && !empty($wxacs_ease_scroll_params)){
     25                    wp_enqueue_script('wxacs_easeScroll_js', plugins_url('assets/js/jquery.easeScroll.js', __FILE__), array('jquery'), WXACS_VERSION, true);
     26                    wp_enqueue_script('wxacs_front_script', plugins_url('assets/js/script.js', __FILE__), array('jquery','wxacs_easeScroll_js'), WXACS_VERSION, true);
    2727                    wp_localize_script( 'wxacs_front_script', 'wxacs_ease_scroll_params',
    2828                        $wxacs_ease_scroll_params
Note: See TracChangeset for help on using the changeset viewer.