Maxime Thirouin
2014-10-14 08:16:26 +02:00
parent f4e5ec254a
commit a6c9b57647

View File

@@ -4,5 +4,5 @@ module.exports = function() {
window.history.pushState &&
window.history.replaceState &&
// pushState isnt 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)/)
}