From 591484aec6ee497d7bd5e07f691ef7ada9ec009c Mon Sep 17 00:00:00 2001 From: Tim Hobbs Date: Wed, 23 Apr 2014 04:12:27 -0700 Subject: [PATCH] Minor cast refactor --- dashboard-ui/scripts/chromecast.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/dashboard-ui/scripts/chromecast.js b/dashboard-ui/scripts/chromecast.js index dd38a90c17..b3231c3546 100644 --- a/dashboard-ui/scripts/chromecast.js +++ b/dashboard-ui/scripts/chromecast.js @@ -1296,7 +1296,11 @@ self.currentTimeElement.html(timeText); }; - self.changeStream = self.seek = function (position) { + self.changeStream = function (position) { + castPlayer.seekMedia(position); + }; + + self.seek = function (position) { castPlayer.seekMedia(position); };