forked from 0x2620/pandora
fix video preview tooltip function
This commit is contained in:
parent
0df6dba534
commit
bee6a53546
1 changed files with 7 additions and 5 deletions
|
@ -95,11 +95,13 @@ pandora.ui.info = function() {
|
|||
? (ui.videoPoints[id] ? ui.videoPoints[id].position : 0)
|
||||
: result.data.posterFrame,
|
||||
videoTooltip: function() {
|
||||
return (ui.item && ['timeline', 'player', 'editor'].indexOf(ui.itemView) > -1)
|
||||
? 'Go to Position' : 'Open in ' + Ox.getObjectById(
|
||||
pandora.site.itemViews,
|
||||
ui.videoView
|
||||
).title + ' View';
|
||||
return (
|
||||
pandora.user.ui.item
|
||||
&& ['timeline', 'player', 'editor'].indexOf(pandora.user.ui.itemView) > -1
|
||||
) ? 'Go to Position' : 'Open in ' + Ox.getObjectById(
|
||||
pandora.site.itemViews,
|
||||
ui.videoView
|
||||
).title + ' View';
|
||||
},
|
||||
width: ui.sidebarSize
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue