Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
Catch window.find exception in FF for Android, fixes #1438 #1514
Great to see this bug fixed!
Just one thing would be nice in general in such situation: if you are making some workaround for browser bug, please, make sure the bug was documented and properly reported. And if wasn't, please report it.
It seems this fix overcomes problem that exists in Firefox for years (yes, it is still not fixed), yet I wasn't able to find any trace of report narrowing cause of it from times this hilarious "lebowskilebowskigate" emerged, although it seems it was well known to you (developers) and certainly to author of this fix quite soon it exhibited itself. If it had been reported then, perhaps it would be fixed already and there would not be any manifestation of it at pages with outdated Modernizr today.
Coincidentally, first report matching this bug I could find is from yesterday. Leaving here for reference: