attempt to fix #26

This commit is contained in:
Federico Zivolo 2014-09-23 10:00:58 +02:00
parent 94eac0856f
commit ddf1d232a6

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/i.test(navigator.userAgent)) {
if (/firefox|crios|ip(ad|hone|od)/i.test(navigator.userAgent)) {
$el.click();
}