Skip to content

Commit 2c18bd2

Browse files
author
Federico Zivolo
committed
fixed buttons on safari
1 parent 8af64ad commit 2c18bd2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/ripples.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ var ripples = {
5757
$ripple.setAttribute("style", $ripple.getAttribute("style") + ["-ms-" + scale,"-moz-" + scale,"-webkit-" + scale,scale].join(";"));
5858

5959
// Dirty fix for Firefox... seems like absolute elements inside <A> tags do not trigger the "click" event
60-
if (/firefox|crios|ip(ad|hone|od)/i.test(navigator.userAgent)) {
60+
if (/firefox|crios|safari|ip(ad|hone|od)/i.test(navigator.userAgent)) {
6161
$el.click();
6262
}
6363

0 commit comments

Comments
 (0)