diff --git a/material/ripples.js b/material/ripples.js index 8a27d087..6be4ce47 100644 --- a/material/ripples.js +++ b/material/ripples.js @@ -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 tags do not trigger the "click" event - if (/firefox|crios|(safari(?!chrome))|ip(ad|hone|od)/i.test(navigator.userAgent)) { + if (/firefox|crios|(^(?!.*chrome).*safari)|ip(ad|hone|od)/i.test(navigator.userAgent)) { $el.click(); }