forked from 0x2620/pandora
if editable, add tooltip to poster/icon in info view
This commit is contained in:
parent
d5984e474e
commit
dc8a43a094
1 changed files with 4 additions and 1 deletions
|
@ -47,7 +47,10 @@ pandora.ui.infoView = function(data) {
|
||||||
})
|
})
|
||||||
.appendTo($info),
|
.appendTo($info),
|
||||||
|
|
||||||
$icon = Ox.Element('<img>')
|
$icon = Ox.Element({
|
||||||
|
element: '<img>',
|
||||||
|
tooltip: canEdit ? 'Doubleclick to edit' : ''
|
||||||
|
})
|
||||||
.attr({
|
.attr({
|
||||||
src: '/' + data.id + '/' + (
|
src: '/' + data.id + '/' + (
|
||||||
ui.icons == 'posters'
|
ui.icons == 'posters'
|
||||||
|
|
Loading…
Reference in a new issue