CC-5788 : Library Cleanup

stop event propagation only on right click.
This commit is contained in:
Naomi 2014-04-08 17:41:45 -04:00
parent 2930b6f3ea
commit cd2776c9be
1 changed files with 3 additions and 3 deletions

View File

@ -752,11 +752,11 @@ var AIRTIME = (function(AIRTIME) {
});
$library.on("mousedown", 'td:not(.library_checkbox)', function(e) {
e.preventDefault();
e.stopPropagation();
//only trigger context menu on right click.
if (e.which === 3) {
e.preventDefault();
e.stopPropagation();
var $el = $(this);
$el.contextMenu({x: e.pageX, y: e.pageY});