From 9696030800f4372f0897e40f34c76bb7835bfb60 Mon Sep 17 00:00:00 2001 From: Ger Hobbelt Date: Wed, 5 Nov 2014 22:03:44 +0100 Subject: [PATCH] fix #261: tap/click on sp-color rectangle does not move the reticle and 'pick' the pointed-at color. --- spectrum.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/spectrum.js b/spectrum.js index 3dc449a5..a9352ff7 100644 --- a/spectrum.js +++ b/spectrum.js @@ -1061,9 +1061,7 @@ $(doc).bind(duringDragEvents); $(doc.body).addClass("sp-dragging"); - if (!hasTouch) { - move(e); - } + move(e); prevent(e); }