This commit is contained in:
Julian Lam
2016-03-01 16:48:20 -05:00
parent 9d0f53fcd6
commit c2b428cc95

View File

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