mirror of
https://github.com/mdbootstrap/mdb-ui-kit.git
synced 2025-02-18 04:30:38 +03:00
Update to ripple.js
Bug: If anything with ripple class is clicked too many times too fast, the ripple color stays, and the element becomes darker Fix: on rippleOut($ripple) you have a setTimeout which calls $ripple.remove() - I changed this line to say $('.ripple').remove() This removes any ripple class. I am assuming the user is not going to have multiple mouses trying to make multiple thing ripple at once. Enjoy the change!! I am also making angular directives for this library
This commit is contained in:
parent
f786000407
commit
764c35dab2
|
@ -78,7 +78,8 @@ var ripples = {
|
|||
|
||||
// Let ripple fade out (with CSS)
|
||||
setTimeout(function() {
|
||||
$ripple.remove();
|
||||
|
||||
$('.ripple').remove();
|
||||
}, rippleOutTime);
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user