- Corrected problem where Language Dropdown was not filled

This commit is contained in:
Josako
2024-11-29 11:49:50 +01:00
parent b658e68e65
commit 425b580f15
2 changed files with 4 additions and 2 deletions

View File

@@ -43,6 +43,8 @@ class EveAIChatWidget extends HTMLElement {
this.addEventListeners() this.addEventListeners()
if (this.areAllAttributesSet()) { if (this.areAllAttributesSet()) {
console.log('All attributes are set, populating language dropdown');
this.populateLanguageDropdown()
console.log('All attributes are set, initializing socket'); console.log('All attributes are set, initializing socket');
this.initializeSocket(); this.initializeSocket();
} else { } else {

View File

@@ -2,7 +2,7 @@
/** /**
* Plugin Name: EveAI Chat Widget * Plugin Name: EveAI Chat Widget
* Description: Integrates the Ask Eve AI (Evie) chat interface into your WordPress site. * Description: Integrates the Ask Eve AI (Evie) chat interface into your WordPress site.
* Version: 2.0.17 * Version: 2.0.18
* Author: AskEveAI.com * Author: AskEveAI.com
* Text Domain: eveai-chat * Text Domain: eveai-chat
* Domain Path: /languages * Domain Path: /languages
@@ -15,7 +15,7 @@ if (!defined('WPINC')) {
} }
// Define plugin constants // Define plugin constants
define('EVEAI_CHAT_VERSION', '2.0.17'); define('EVEAI_CHAT_VERSION', '2.0.18');
define('EVEAI_CHAT_PLUGIN_DIR', plugin_dir_path(__FILE__)); define('EVEAI_CHAT_PLUGIN_DIR', plugin_dir_path(__FILE__));
define('EVEAI_CHAT_PLUGIN_URL', plugin_dir_url(__FILE__)); define('EVEAI_CHAT_PLUGIN_URL', plugin_dir_url(__FILE__));