mirror of
https://github.com/mdbootstrap/mdb-ui-kit.git
synced 2025-07-12 09:12:17 +03:00
fixed click on firefox
This commit is contained in:
parent
94f227f3e9
commit
333cd46b74
|
@ -1,5 +1,5 @@
|
||||||
/* Copyright 2014+, Federico Zivolo, LICENSE at https://github.com/FezVrasta/bootstrap-material-design/blob/master/LICENSE.md */
|
/* 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 = {
|
var ripples = {
|
||||||
init : function(withRipple) {
|
init : function(withRipple) {
|
||||||
"use strict";
|
"use strict";
|
||||||
|
@ -73,6 +73,7 @@ var ripples = {
|
||||||
|
|
||||||
// Let ripple fade out (with CSS)
|
// Let ripple fade out (with CSS)
|
||||||
setTimeout(function() {
|
setTimeout(function() {
|
||||||
|
$ripple.parentNode.parentNode.click();
|
||||||
$ripple.remove();
|
$ripple.remove();
|
||||||
}, rippleOutTime);
|
}, rippleOutTime);
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue
Block a user