From 238d25244b91e72fa6284a64b69884976313dbe6 Mon Sep 17 00:00:00 2001 From: Takuya Matsuyama Date: Sun, 7 Dec 2014 06:02:08 +0900 Subject: [PATCH] rippleOut on click and touchend --- scripts/ripples.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/ripples.js b/scripts/ripples.js index eace579f..cf01d88d 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", function() { + element.on("mouseup mouseleave click 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") {