Plugin Directory

Changeset 1708621


Ignore:
Timestamp:
08/04/2017 09:18:23 PM (9 years ago)
Author:
devlucasmendes
Message:

Fix comparaing echoing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • fastdee/trunk/includes/core/class-fd-util.php

    r1708614 r1708621  
    5151    public function fd_public_site_add_scripts() {
    5252        // if checked open new tab, so loads js to do that
    53         if ( checked( $this->getOptions( 'fd_btn_woocomerce_new_tab' ), 'true' ) ) {
     53        if ( $this->getOptions( 'fd_btn_woocomerce_new_tab' ) == 'true' ) {
    5454            wp_enqueue_script( 'fd-new-tab-buy-button', FASTDEE_URL . '/assets/js/open-new-tab-buy-button.js', array( 'jquery' ) );
    5555        }
Note: See TracChangeset for help on using the changeset viewer.