Plugin Directory

Changeset 2816679


Ignore:
Timestamp:
11/11/2022 02:19:27 PM (3 years ago)
Author:
chative
Message:

20221111 fix bug that page display wrong channel

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chative-live-chat-and-chatbot/trunk/chative-plugin.php

    r2793339 r2816679  
    7373    // echo "</p>";
    7474    echo "<div class='container'>";
    75     echo "<iframe id='chative-iframe' style='height: 100vh; width: 100vw;' src=" . esc_url($baseUrl) . ">";
     75    echo "<iframe id='chative-iframe' src=" . esc_url($baseUrl) . ">";
    7676    echo '</iframe>';
    7777    echo "</div>";
     
    103103    wp_enqueue_style( 'chative_admin_style', plugin_dir_url(__DIR__) . 'chative-live-chat-and-chatbot/include/css/index.css');
    104104}
    105 add_action('wp_enqueue_scripts', 'chative_eneque_scripts');
     105add_action('wp_loaded', 'chative_eneque_scripts');
    106106
Note: See TracChangeset for help on using the changeset viewer.