mirror of
https://github.com/mdbootstrap/mdb-ui-kit.git
synced 2024-11-29 04:54:12 +03:00
fixed #184
This commit is contained in:
parent
89f815d4f6
commit
b2d22f0325
|
@ -1,9 +1,17 @@
|
||||||
/* 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 */
|
||||||
window.ripples = {
|
window.ripples = {
|
||||||
|
done: false,
|
||||||
init : function(withRipple) {
|
init : function(withRipple) {
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
|
if (this.done) {
|
||||||
|
return console.log("Ripples.js was already initialzied.");
|
||||||
|
}
|
||||||
|
|
||||||
|
this.done = true;
|
||||||
|
|
||||||
|
|
||||||
// Cross browser matches function
|
// Cross browser matches function
|
||||||
function matchesSelector(domElement, selector) {
|
function matchesSelector(domElement, selector) {
|
||||||
var matches = domElement.matches ||
|
var matches = domElement.matches ||
|
||||||
|
|
Loading…
Reference in New Issue
Block a user