Revert "fixes #4289"

This reverts commit c2b428cc95.
This commit is contained in:
psychobunny
2016-03-01 18:51:41 -05:00
parent 07266eab9e
commit 45bc387749

View File

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