From 3204bc68f613f64c936d6583a0c5559558503f49 Mon Sep 17 00:00:00 2001 From: j Date: Thu, 16 Nov 2017 15:25:45 +0100 Subject: [PATCH] define url --- static/js/utils.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/static/js/utils.js b/static/js/utils.js index 4852b669..d1b190ca 100644 --- a/static/js/utils.js +++ b/static/js/utils.js @@ -1296,7 +1296,8 @@ pandora.getClipVideos = function(clip, resolution) { }()); pandora.getDownloadLink = function(item, rightslevel) { - var torrent = pandora.site.video.torrent; + var torrent = pandora.site.video.torrent, + url; if (arguments.length == 2 && torrent && pandora.hasCapability('canSeeItem', 'guest') < rightslevel) { torrent = false;