mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-18 03:31:03 +01:00
@@ -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']({
|
||||||
|
|||||||
Reference in New Issue
Block a user