diff --git a/static/js/pandora/ui/list.js b/static/js/pandora/ui/list.js index ee2a03f..931761f 100644 --- a/static/js/pandora/ui/list.js +++ b/static/js/pandora/ui/list.js @@ -214,7 +214,11 @@ pandora.ui.list = function() { // fixme: remove view argument }, openpreview: function(data) { var $video = $('.OxItem.OxSelected > .OxIcon > .OxVideoPlayer'); - $video && $video.trigger('mousedown'); + if ($video) { + // trigger singleclick + $video.trigger('mousedown'); + Ox.UI.$window.trigger('mouseup'); + } $video && Ox.print('OPENPREVIEW!!!@!') that.closePreview(); }, @@ -245,11 +249,6 @@ pandora.ui.list = function() { // fixme: remove view argument }) }) .addClass('OxTarget') - .bind({ - mousedown: function() { - Ox.print('MOUSEDOWN...') - } - }) .bindEvent({ // doubleclick opens item singleclick: function() {