Skip to content
This repository has been archived by the owner on Oct 25, 2021. It is now read-only.

Commit

Permalink
Set chat link html to ''
Browse files Browse the repository at this point in the history
  • Loading branch information
LucaDelBuono committed Jul 12, 2019
1 parent e3edb1c commit 7595330
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions assets/javascript/hmcts-webchat.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ function parseText(text) {
}

function webchat_init(customParams) {
const version = '0.2.3';
const version = '0.2.4';
const requiredParams = [
'uuid',
'tenant',
Expand Down Expand Up @@ -95,7 +95,7 @@ function webchat_init(customParams) {
const paragraph = document.createElement('p');
let additionalTextArray;

chatLink.innerHTML = null;
chatLink.innerHTML = '';

if (chatImgBtn === params.btnNoAgents) {
additionalTextArray = parseText(params.textNoAgentsAvailable);
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@hmcts/ctsc-web-chat",
"version": "0.2.3",
"version": "0.2.4",
"description": "Assets to support HMCTS CTSC web chat",
"repository": {
"type": "git",
Expand Down

0 comments on commit 7595330

Please sign in to comment.