Skip to content

Commit 42494e2

Browse files
author
FezVrasta
committed
fixed click on firefox
1 parent 8c78d8a commit 42494e2

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

scripts/ripples.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/* Copyright 2014+, Federico Zivolo, LICENSE at https://github.com/FezVrasta/bootstrap-material-design/blob/master/LICENSE.md */
12
/* globals CustomEvent */
23
var ripples = {
34
init : function(withRipple) {
@@ -72,6 +73,7 @@ var ripples = {
7273

7374
// Let ripple fade out (with CSS)
7475
setTimeout(function() {
76+
$ripple.parentNode.parentNode.click();
7577
$ripple.remove();
7678
}, rippleOutTime);
7779
};

0 commit comments

Comments
 (0)