fix video preview tooltip function
This commit is contained in:
parent
0df6dba534
commit
bee6a53546
1 changed files with 7 additions and 5 deletions
|
@ -95,8 +95,10 @@ 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(
|
||||
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';
|
||||
|
|
Loading…
Reference in a new issue