Skip to content
Snippets Groups Projects
Unverified Commit e0810890 authored by Anton Georgiev's avatar Anton Georgiev Committed by GitHub
Browse files

Merge pull request #12275 from mariogasparoni/fix-12228

 fix: bug in playAudioAlert method 
parents e62eda3d 536e3245
No related branches found
No related tags found
No related merge requests found
......@@ -78,7 +78,7 @@ class ActivityCheck extends Component {
playAudioAlert() {
this.alert = new Audio(`${Meteor.settings.public.app.cdn + Meteor.settings.public.app.basename + Meteor.settings.public.app.instanceId}/resources/sounds/notify.mp3`);
alert.addEventListener('ended', () => { alert.src = null; });
this.alert.addEventListener('ended', () => { this.alert.src = null; });
this.alert.play();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment