@developpement/tp-chatbot-widget 0.0.4 → 0.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/chatbot.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@developpement/tp-chatbot-widget",
3
- "version": "0.0.4",
3
+ "version": "0.0.5",
4
4
  "description": "Chatbot widget for TravelPlanet / Makitizy",
5
5
  "main": "src/chatbot.js",
6
6
  "files": [
package/src/chatbot.js CHANGED
@@ -518,7 +518,7 @@
518
518
 
519
519
  const form_el = this.querySelector('#tp-guest-form');
520
520
  if (form_el) form_el.remove();
521
-
521
+ this.view = 'chat';
522
522
  this.conversation_id = await this.createConversation();
523
523
 
524
524
  const input_bar = this.querySelector('#tp-chatbot-input-bar');