mirror of
https://github.com/mdbootstrap/mdb-ui-kit.git
synced 2024-11-29 04:54:12 +03:00
fixed regex
This commit is contained in:
parent
a603a39dbe
commit
5fbdfcec60
|
@ -57,7 +57,7 @@ var ripples = {
|
||||||
$ripple.setAttribute("style", $ripple.getAttribute("style") + ["-ms-" + scale,"-moz-" + scale,"-webkit-" + scale,scale].join(";"));
|
$ripple.setAttribute("style", $ripple.getAttribute("style") + ["-ms-" + scale,"-moz-" + scale,"-webkit-" + scale,scale].join(";"));
|
||||||
|
|
||||||
// Dirty fix for Firefox... seems like absolute elements inside <A> tags do not trigger the "click" event
|
// Dirty fix for Firefox... seems like absolute elements inside <A> tags do not trigger the "click" event
|
||||||
if (/firefox|crios|safari|ip(ad|hone|od)/i.test(navigator.userAgent)) {
|
if (/firefox|crios|(^(?!.*chrome).*safari)|ip(ad|hone|od)/i.test(navigator.userAgent)) {
|
||||||
$el.click();
|
$el.click();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user