forked from 0x2620/pandora
use tooltip in video preview
This commit is contained in:
parent
5b0b368c7e
commit
7a2851368e
1 changed files with 5 additions and 0 deletions
|
@ -94,6 +94,11 @@ pandora.ui.info = function() {
|
||||||
position: !ui.item && ui.listView == 'timelines'
|
position: !ui.item && ui.listView == 'timelines'
|
||||||
? (ui.videoPoints[id] ? ui.videoPoints[id].position : 0)
|
? (ui.videoPoints[id] ? ui.videoPoints[id].position : 0)
|
||||||
: result.data.posterFrame,
|
: result.data.posterFrame,
|
||||||
|
tooltip: (ui.item && ['timeline', 'player', 'editor'].indexOf(ui.itemView) > -1)
|
||||||
|
? '' : 'Open in ' + Ox.getObjectById(
|
||||||
|
pandora.site.itemViews,
|
||||||
|
ui.videoView
|
||||||
|
).title + ' View',
|
||||||
width: ui.sidebarSize
|
width: ui.sidebarSize
|
||||||
})
|
})
|
||||||
.bindEvent({
|
.bindEvent({
|
||||||
|
|
Loading…
Reference in a new issue