Merge pull request #742 from Safelite/feature/richardson/SSR-1342.3
string on 1 line.
This commit is contained in:
commit
a8f6f8a26f
1 changed files with 2 additions and 2 deletions
|
|
@ -250,8 +250,8 @@ function mapStringToModal(str) {
|
||||||
);
|
);
|
||||||
const splitParams = params.split(',');
|
const splitParams = params.split(',');
|
||||||
|
|
||||||
const bodyText = `<a href="#" modalTarget="${splitParams[0]}" class="modal-text">
|
const bodyText =
|
||||||
<span class="sr-only">Link:</span>${splitParams[1]}</a>`;
|
`<a href="#" modalTarget="${splitParams[0]}" class="modal-text"><span class="sr-only">Link:</span>${splitParams[1]}</a>`;
|
||||||
|
|
||||||
let returnVal = str.replace(linkToReplace, bodyText);
|
let returnVal = str.replace(linkToReplace, bodyText);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue