fix: AudioContext warning when loading widget on Chrome (#3956)
* fix: AudioContext warning when loading widget on Chrome * minor fixes * Minor fixes * adds event on document * Play audio from parent window through SDK * Adds notification to dashboard Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com> Co-authored-by: Vishnu Narayanan <vishnu@chatwoot.com>
This commit is contained in:
@@ -4,7 +4,6 @@ import VueI18n from 'vue-i18n';
|
||||
import store from '../widget/store';
|
||||
import App from '../widget/App.vue';
|
||||
import ActionCableConnector from '../widget/helpers/actionCable';
|
||||
import { getAlertAudio } from 'shared/helpers/AudioNotificationHelper';
|
||||
import i18n from '../widget/i18n';
|
||||
|
||||
import router from '../widget/router';
|
||||
@@ -33,5 +32,4 @@ window.onload = () => {
|
||||
window.WOOT_WIDGET,
|
||||
window.chatwootPubsubToken
|
||||
);
|
||||
getAlertAudio();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user