Revert "fixes #4289"

This reverts commit c2b428cc95.
v1.18.x
psychobunny 9 years ago
parent 07266eab9e
commit 45bc387749

@ -96,9 +96,7 @@ $(document).ready(function() {
app.previousUrl = window.location.href; app.previousUrl = window.location.href;
} }
var location = document.createElement('a'); ajaxify.currentPage = url;
location.href = url;
ajaxify.currentPage = location.pathname;
if (window.history && window.history.pushState) { if (window.history && window.history.pushState) {
window.history[!quiet ? 'pushState' : 'replaceState']({ window.history[!quiet ? 'pushState' : 'replaceState']({

Loading…
Cancel
Save