chore: Add alt for bubble icon (#1200)
This commit is contained in:
parent
afb5694ed6
commit
715bd368f4
1 changed files with 1 additions and 0 deletions
|
@ -28,6 +28,7 @@ export const createBubbleIcon = ({ className, src, target }) => {
|
||||||
let bubbleClassName = `${className} woot-elements--${window.$chatwoot.position}`;
|
let bubbleClassName = `${className} woot-elements--${window.$chatwoot.position}`;
|
||||||
const bubbleIcon = document.createElement('img');
|
const bubbleIcon = document.createElement('img');
|
||||||
bubbleIcon.src = src;
|
bubbleIcon.src = src;
|
||||||
|
bubbleIcon.alt = 'bubble-icon';
|
||||||
target.appendChild(bubbleIcon);
|
target.appendChild(bubbleIcon);
|
||||||
|
|
||||||
if (isExpandedView(window.$chatwoot.type)) {
|
if (isExpandedView(window.$chatwoot.type)) {
|
||||||
|
|
Loading…
Reference in a new issue