fix poster click handler
This commit is contained in:
parent
646c6f77f7
commit
2cf2d4efa1
1 changed files with 2 additions and 8 deletions
|
@ -103,11 +103,7 @@ pandora.ui.infoView = function(data) {
|
|||
.appendTo($info),
|
||||
|
||||
$icon = Ox.Element({
|
||||
element: '<img>',
|
||||
tooltip: 'Switch to ' + Ox.getObjectById(
|
||||
pandora.site.itemViews,
|
||||
ui.videoView
|
||||
).title + ' View'
|
||||
element: '<img>'
|
||||
})
|
||||
.attr({
|
||||
src: pandora.getMediaURL('/' + data.id + '/' + (
|
||||
|
@ -124,9 +120,7 @@ pandora.ui.infoView = function(data) {
|
|||
cursor: 'pointer'
|
||||
})
|
||||
.bindEvent({
|
||||
anyclick: function() {
|
||||
pandora.UI.set({itemView: ui.videoView});
|
||||
}
|
||||
singleclick: toggleIconSize
|
||||
})
|
||||
.appendTo($left),
|
||||
|
||||
|
|
Loading…
Reference in a new issue