diff --git a/dashboard-ui/thirdparty/cordova/chromecast.js b/dashboard-ui/thirdparty/cordova/chromecast.js index b4543c92c2..9d218f4b14 100644 --- a/dashboard-ui/thirdparty/cordova/chromecast.js +++ b/dashboard-ui/thirdparty/cordova/chromecast.js @@ -618,6 +618,7 @@ device.on("disconnect", function () { device.off("ready"); + device.off("disconnect"); }); console.log('Calling device.connect'); diff --git a/dashboard-ui/voice/voice.js b/dashboard-ui/voice/voice.js index f26ba13630..f7968d5a94 100644 --- a/dashboard-ui/voice/voice.js +++ b/dashboard-ui/voice/voice.js @@ -488,11 +488,6 @@ isSupported: function () { - // Crashing. Don't want to fight it right now - if (AppInfo.isNativeApp && $.browser.safari) { - return false; - } - return window.SpeechRecognition || window.webkitSpeechRecognition; },