fixed click on firefox

This commit is contained in:
FezVrasta 2014-09-17 08:15:40 +02:00
parent 94f227f3e9
commit 333cd46b74

View File

@ -1,5 +1,5 @@
/* Copyright 2014+, Federico Zivolo, LICENSE at https://github.com/FezVrasta/bootstrap-material-design/blob/master/LICENSE.md */
/* globals CustomEvent */
/* globals CustomEvent, document, setTimeout. window */
var ripples = {
init : function(withRipple) {
"use strict";
@ -73,6 +73,7 @@ var ripples = {
// Let ripple fade out (with CSS)
setTimeout(function() {
$ripple.parentNode.parentNode.click();
$ripple.remove();
}, rippleOutTime);
};