Skip to content

Node.js based forum software built for the modern web

temporary fix for templates loading twice

psychobunny4b3208936704
diff --git a/public/src/ajaxify.js b/public/src/ajaxify.js
index d870b86fce..f03e3921de 100644
--- a/public/src/ajaxify.js
+++ b/public/src/ajaxify.js
@@ -21,11 +21,12 @@ 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) {
-
+
// leave room and join global
app.enter_room('global');