Last active
May 23, 2019 11:59
-
-
Save usualoma/9a220d761578d9c586868321723cc219 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (userAgent.name === "Safari") { | |
// reCAPTCHA has a critical bug on Safari | |
if (window.innerWidth > 512) { | |
try { | |
window.innerWidth = 512; | |
} catch (e) { | |
// ignore | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment