diff --git a/README.md b/README.md index 1b6c8be..c6be204 100644 --- a/README.md +++ b/README.md @@ -23,9 +23,9 @@ The widget can be initialized in one of two ways: * Add the following div to your website: `
` * Add the following script to your website: - `` + `` -There is configuration associated with the widget. You can pass it to the `initChatWidget` function as an object or to the `div` element as attributes. +There is configuration associated with the widget. You can pass it to the `ChatWidget` function as an object or to the `div` element as attributes. | Attribute | Description | Default value | | ------------------- | ----------------------- | ----------------------- | @@ -55,7 +55,7 @@ Example usage: serverUrl: "http://127.0.0.1:5000", useFeedback: true, useLogin: true, - }); + }, "customContainerId"); ``` diff --git a/public/index.html b/public/index.html index 58a05c0..203a60e 100644 --- a/public/index.html +++ b/public/index.html @@ -29,15 +29,18 @@ -