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,
|
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()
|
$content = Ox.Element()
|
||||||
.css({margin: '16px'})
|
.css({margin: '16px'})
|
||||||
|
@ -18,8 +22,7 @@ pandora.ui.linkVideoDialog = function() {
|
||||||
marginTop: '8px'
|
marginTop: '8px'
|
||||||
})
|
})
|
||||||
.val(
|
.val(
|
||||||
'<a href="' + document.location.href
|
'<a href="' + href + '"><img src="' + src + '"></a>'
|
||||||
+ '"><img src="' + url + '"></a>'
|
|
||||||
)
|
)
|
||||||
.on({
|
.on({
|
||||||
click: function() {
|
click: function() {
|
||||||
|
|
Loading…
Reference in a new issue