mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-10 16:05:49 +01:00
temporary fix for templates loading twice
This commit is contained in:
@@ -21,7 +21,8 @@ var ajaxify = {};
|
|||||||
|
|
||||||
|
|
||||||
window.onpopstate = function(event) {
|
window.onpopstate = function(event) {
|
||||||
ajaxify.go(document.location.href.replace(rootUrl +'/', ''));
|
// this breaks reloading and results in ajaxify.go calling twice, believe it messes around with sockets. ill come back for you later bitchez
|
||||||
|
// ajaxify.go(document.location.href.replace(rootUrl +'/', ''));
|
||||||
};
|
};
|
||||||
|
|
||||||
ajaxify.go = function(url, callback) {
|
ajaxify.go = function(url, callback) {
|
||||||
|
|||||||
Reference in New Issue
Block a user