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

Commit

Permalink
Some linting
Browse files Browse the repository at this point in the history
  • Loading branch information
LucaDelBuono committed May 23, 2019
1 parent 3459993 commit 2148f38
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 185 deletions.
182 changes: 0 additions & 182 deletions assets/css/hmcts-webchat_old.css

This file was deleted.

5 changes: 2 additions & 3 deletions assets/javascript/hmcts-webchat.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
function parseText(text) {
const textArray = text.split('\n');
return textArray;
return text.split('\n');
}

function webchat_init(customParams) {
Expand Down Expand Up @@ -76,7 +75,7 @@ function webchat_init(customParams) {

additionalTextArray.forEach((line, index) => {
const br = document.createElement('br');
additionalTextLine = document.createTextNode(line);
const additionalTextLine = document.createTextNode(line);
paragraph.appendChild(additionalTextLine);
if (index < additionalTextArray.length - 1) {
paragraph.appendChild(br);
Expand Down

0 comments on commit 2148f38

Please sign in to comment.