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