Plugin Directory

Changeset 2176115


Ignore:
Timestamp:
10/19/2019 02:59:49 PM (6 years ago)
Author:
wpwebsitecreator
Message:

Jquery lod only if not loaded

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wp-website-creator/trunk/class.settings-api.php

    r2176112 r2176115  
    4141
    4242     if ( ! wp_script_is( 'jquery', 'enqueued' )) {
    43        add_action('wp_enqueue_scripts','wpwc_front_scripts');
     43        if (!isset($_GET['fl_builder']) and !isset($_GET['action']) )
     44        {
     45          add_action('wp_enqueue_scripts','wpwc_front_scripts');
     46        }
    4447     }
    4548
Note: See TracChangeset for help on using the changeset viewer.