We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ea2724 commit 06fe393Copy full SHA for 06fe393
client-side/history.ajax.js
@@ -1,7 +1,9 @@
1
(function($, undefined) {
2
3
// Is History API reliably supported? (based on Modernizr & PJAX)
4
-if (!(window.history && history.pushState && window.history.replaceState && !navigator.userAgent.match(/((iPod|iPhone|iPad).+\bOS\s+[1-4]|WebApps\/.+CFNetwork)/))) return;
+if (!(window.history && history.pushState && window.history.replaceState)) {
5
+ return;
6
+}
7
8
$.nette.ext('redirect', false);
9
0 commit comments