We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e895846 commit 026f412Copy full SHA for 026f412
1 file changed
index.html
@@ -731,7 +731,7 @@ <h5 data-i18n="footer.in-touch.header">Keep in Touch</h5>
731
osMatch = navigator.userAgent.match(
732
/Mac OS X 10[._](\d+)([._](\d+))?\D/i
733
);
734
- osMatch = parseFloat(osMatch[1] + "." + (osMatch[3] || 0));
+ osMatch = osMatch && parseFloat(osMatch[1] + "." + (osMatch[3] || 0));
735
736
// Firefox reports only the OS X major version (10.6), so we have to check for 6.0
737
if (osMatch < 6.8 && osMatch !== 6.0) {
0 commit comments