mirror of
https://github.com/mdbootstrap/mdb-ui-kit.git
synced 2024-11-11 04:07:55 +03:00
Remove click event
This commit is contained in:
parent
238d25244b
commit
e6fa76f878
|
@ -148,7 +148,7 @@
|
||||||
}, 500);
|
}, 500);
|
||||||
|
|
||||||
// On mouseup or on mouseleave, set the mousedown flag to "off" and try to destroy the ripple
|
// 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");
|
ripple.data("mousedown", "off");
|
||||||
// If the transition "on" is finished then we can destroy the ripple with transition "out"
|
// If the transition "on" is finished then we can destroy the ripple with transition "out"
|
||||||
if (ripple.data("animating") == "off") {
|
if (ripple.data("animating") == "off") {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user