Don't handle right clicks

This commit is contained in:
Luis Leiva 2015-07-23 15:25:31 +02:00
parent 47b1a4c4ed
commit 23e14d255c
2 changed files with 4 additions and 2 deletions

View File

@ -265,7 +265,6 @@
}
};
/**
* @private
*/
@ -376,6 +375,9 @@
* @private
*/
function downHandler(e) {
// Don't handle right clicks.
if (e.which === 3) return false;
var idx = e.identifier || 0;
var elem = $(e.target), data = elem.data(_ns), options = data.options;
data.sketch.isDrawing = true;

File diff suppressed because one or more lines are too long