diff --git a/src/plugins/jquery.flot.selection.js b/src/plugins/jquery.flot.selection.js index 6c8ced6..91af5d9 100644 --- a/src/plugins/jquery.flot.selection.js +++ b/src/plugins/jquery.flot.selection.js @@ -111,7 +111,7 @@ The plugin allso adds the following methods to the plot object: } function onMouseDown(e) { - if (e.type === "touchstart" && e.originalEvent.touches.length === 1) { // only accept single touch + if (e.type === "touchstart" && e.originalEvent.touches.length === 2) { // only accept double touch selection.touch = true; } else if (e.which !== 1 || e.originalEvent.touches && e.originalEvent.touches.length > 1) { // only accept left-click return;