From 2eff9566851111b33132f524bc2afb9f9947d766 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Tue, 2 Jun 2015 23:16:39 -0400 Subject: [PATCH] add logging to connect reporting --- dashboard-ui/thirdparty/cordova/chromecast.js | 1 + dashboard-ui/voice/voice.js | 5 ----- 2 files changed, 1 insertion(+), 5 deletions(-) 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; },