mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-09 23:45:45 +01:00
temporary fix for templates loading twice
This commit is contained in:
@@ -21,7 +21,8 @@ var ajaxify = {};
|
||||
|
||||
|
||||
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) {
|
||||
|
||||
Reference in New Issue
Block a user