Maxime Thirouin committed 2014-10-14 08:16:26 +02:00
1 parent f4e5ec254a
commit a6c9b57647
1 file changed
+1 -1
+1 -1
View File
@@ -4,5 +4,5 @@ module.exports = function() {
window.history.pushState &&
window.history.replaceState &&
// pushState isn’t reliable on iOS until 5.
!navigator.userAgent.match(/((iPod|iPhone|iPad).+\bOS\s+[1-4]|WebApps\/.+CFNetwork)/)
!navigator.userAgent.match(/((iPod|iPhone|iPad).+\bOS\s+[1-4]\D|WebApps\/.+CFNetwork)/)
}