mirror of
https://github.com/lingble/chatwoot.git
synced 2025-11-02 03:57:52 +00:00
chore: Add alt for bubble icon (#1200)
This commit is contained in:
@@ -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)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user