only start drag with right click

This commit is contained in:
vieron
2012-07-23 21:46:27 +02:00
parent 981895eab4
commit bf2ee67450

View File

@@ -59,6 +59,10 @@
fn.drag_handler = function(e) {
if (e.which !== 1) {
return false;
};
var self = this;
var first = true;
this.$player = $(e.currentTarget);