From e4e14908b8ad9f2befaa66b56a9b96a9cdd46800 Mon Sep 17 00:00:00 2001 From: Tim Hobbs Date: Tue, 8 Apr 2014 11:33:25 -0700 Subject: [PATCH] Undo changes --- dashboard-ui/scripts/remotecontrol.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/dashboard-ui/scripts/remotecontrol.js b/dashboard-ui/scripts/remotecontrol.js index ba622794f6..6df582fb44 100644 --- a/dashboard-ui/scripts/remotecontrol.js +++ b/dashboard-ui/scripts/remotecontrol.js @@ -349,7 +349,7 @@ // don't display the current session sessions = sessions.filter(function (s) { - return s.DeviceId != deviceId && (s.SupportsRemoteControl || s.Client == "Chromecast"); + return s.DeviceId != deviceId && (s.SupportsRemoteControl); }); var elem = $('#selectSession', popup); @@ -403,8 +403,6 @@ self.showMenu = function (options) { ApiClient.getSessions(sessionQuery).done(function (sessions) { - console.log("showMenu", sessions); - showMenu(sessions, options); });