From e6fa76f87814f90683da7d0630111ee75485d5e5 Mon Sep 17 00:00:00 2001 From: Takuya Matsuyama Date: Mon, 8 Dec 2014 23:41:25 +0900 Subject: [PATCH] Remove click event --- scripts/ripples.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/ripples.js b/scripts/ripples.js index cf01d88d..c3aad120 100644 --- a/scripts/ripples.js +++ b/scripts/ripples.js @@ -148,7 +148,7 @@ }, 500); // On mouseup or on mouseleave, set the mousedown flag to "off" and try to destroy the ripple - element.on("mouseup mouseleave click touchend", function() { + element.on("mouseup mouseleave touchend", function() { ripple.data("mousedown", "off"); // If the transition "on" is finished then we can destroy the ripple with transition "out" if (ripple.data("animating") == "off") {