diff --git a/dashboard-ui/bower_components/emby-webcomponents/voice/voicedialog.js b/dashboard-ui/bower_components/emby-webcomponents/voice/voicedialog.js index 40909adb5a..76ce4c31e4 100644 --- a/dashboard-ui/bower_components/emby-webcomponents/voice/voicedialog.js +++ b/dashboard-ui/bower_components/emby-webcomponents/voice/voicedialog.js @@ -166,11 +166,11 @@ define(['dialogHelper', './voicereceiver', './voiceprocessor', 'globalize', 'emb currentDialog = dlg; dlg.addEventListener('close', function () { + voicereceiver.cancel(); currentDialog = null; }); function onCancelClick() { - voicereceiver.cancel(); dialogHelper.close(dlg); }