fixed buttons on safari

This commit is contained in:
Federico Zivolo 2014-09-26 13:22:27 +02:00
parent 8af64adc57
commit 2c18bd2d13

View File

@ -57,7 +57,7 @@ var ripples = {
$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
if (/firefox|crios|ip(ad|hone|od)/i.test(navigator.userAgent)) {
if (/firefox|crios|safari|ip(ad|hone|od)/i.test(navigator.userAgent)) {
$el.click();
}