update link url
This commit is contained in:
parent
70d362e655
commit
769472a056
1 changed files with 6 additions and 3 deletions
|
@ -5,7 +5,11 @@ pandora.ui.linkVideoDialog = function() {
|
|||
|
||||
var ui = pandora.user.ui,
|
||||
|
||||
url = '/' + ui.item + '/480p' + ui.videoPoints[ui.item]['in'] + '.jpg',
|
||||
href = '/' + ui.item + '/'
|
||||
+ ui.videoPoints[ui.item]['in'] + ','
|
||||
+ ui.videoPoints[ui.item]['out'],
|
||||
|
||||
src = '/' + ui.item + '/480p' + ui.videoPoints[ui.item]['in'] + '.jpg',
|
||||
|
||||
$content = Ox.Element()
|
||||
.css({margin: '16px'})
|
||||
|
@ -18,8 +22,7 @@ pandora.ui.linkVideoDialog = function() {
|
|||
marginTop: '8px'
|
||||
})
|
||||
.val(
|
||||
'<a href="' + document.location.href
|
||||
+ '"><img src="' + url + '"></a>'
|
||||
'<a href="' + href + '"><img src="' + src + '"></a>'
|
||||
)
|
||||
.on({
|
||||
click: function() {
|
||||
|
|
Loading…
Reference in a new issue