We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0cc7fa4 commit 62f239aCopy full SHA for 62f239a
jquery.pjax.js
@@ -118,8 +118,8 @@
118
// Is pjax supported by this browser?
119
$.support.pjax =
120
window.history && window.history.pushState && window.history.replaceState
121
- // pushState isn't reliable on iOS yet.
122
- && !navigator.userAgent.match(/(iPod|iPhone|iPad|WebApps\/.+CFNetwork)/);
+ // pushState isn't reliable on iOS until 5.
+ && !navigator.userAgent.match(/((iPod|iPhone|iPad).+\bOS\s+[1-4]|WebApps\/.+CFNetwork)/);
123
124
// When called on a link, fetches the href with ajax into the
125
// container specified as the first parameter or with the data-pjax
0 commit comments