fix poster click handler

This commit is contained in:
Rolux 2015-09-21 17:33:33 +01:00
parent 646c6f77f7
commit 2cf2d4efa1
1 changed files with 2 additions and 8 deletions

View File

@ -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),