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),
|
.appendTo($info),
|
||||||
|
|
||||||
$icon = Ox.Element({
|
$icon = Ox.Element({
|
||||||
element: '<img>',
|
element: '<img>'
|
||||||
tooltip: 'Switch to ' + Ox.getObjectById(
|
|
||||||
pandora.site.itemViews,
|
|
||||||
ui.videoView
|
|
||||||
).title + ' View'
|
|
||||||
})
|
})
|
||||||
.attr({
|
.attr({
|
||||||
src: pandora.getMediaURL('/' + data.id + '/' + (
|
src: pandora.getMediaURL('/' + data.id + '/' + (
|
||||||
|
@ -124,9 +120,7 @@ pandora.ui.infoView = function(data) {
|
||||||
cursor: 'pointer'
|
cursor: 'pointer'
|
||||||
})
|
})
|
||||||
.bindEvent({
|
.bindEvent({
|
||||||
anyclick: function() {
|
singleclick: toggleIconSize
|
||||||
pandora.UI.set({itemView: ui.videoView});
|
|
||||||
}
|
|
||||||
})
|
})
|
||||||
.appendTo($left),
|
.appendTo($left),
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue