use absolute url for link

This commit is contained in:
rolux 2014-06-06 14:41:42 +03:00
parent df84cf1aa7
commit e1a8e72f2b

View file

@ -5,7 +5,8 @@ pandora.ui.linkVideoDialog = function() {
var ui = pandora.user.ui,
href = '/' + ui.item + '/'
href = (pandora.site.site.https ? 'https' : 'http') + '://'
+ pandora.site.site.url + '/' + ui.item + '/'
+ ui.videoPoints[ui.item]['in'] + ','
+ ui.videoPoints[ui.item]['out'],