diff --git a/app/javascript/sdk/IFrameHelper.js b/app/javascript/sdk/IFrameHelper.js index 275d082f5..8f6716f1c 100644 --- a/app/javascript/sdk/IFrameHelper.js +++ b/app/javascript/sdk/IFrameHelper.js @@ -14,7 +14,6 @@ import { chatBubble, closeBubble, bubbleHolder, - createNotificationBubble, onClickChatBubble, onBubbleClick, setBubbleText, @@ -315,7 +314,6 @@ export const IFrameHelper = { bubbleHolder.appendChild(chatIcon); bubbleHolder.appendChild(closeBubble); - bubbleHolder.appendChild(createNotificationBubble()); onClickChatBubble(); }, toggleCloseButton: () => { diff --git a/app/javascript/sdk/bubbleHelpers.js b/app/javascript/sdk/bubbleHelpers.js index 600c1444a..609fe04da 100644 --- a/app/javascript/sdk/bubbleHelpers.js +++ b/app/javascript/sdk/bubbleHelpers.js @@ -65,11 +65,6 @@ export const createBubbleHolder = hideMessageBubble => { body.appendChild(bubbleHolder); }; -export const createNotificationBubble = () => { - addClasses(notificationBubble, 'woot--notification'); - return notificationBubble; -}; - export const onBubbleClick = (props = {}) => { const { toggleValue } = props; const { isOpen } = window.$chatwoot;