Node.js based forum software built for the modern web
Revert "fixes #4289"
psychobunny45bc387749bd
diff --git a/public/src/ajaxify.js b/public/src/ajaxify.jsindex 6b527658b3..c6b9418693 100644--- a/public/src/ajaxify.js+++ b/public/src/ajaxify.js@@ -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']({