From 4b32089367049ac6111488845bd4029fbf694c5a Mon Sep 17 00:00:00 2001
From: psychobunny <rodrigues.andrew@gmail.com>
Date: Tue, 7 May 2013 17:15:42 +0000
Subject: [PATCH] temporary fix for templates loading twice

---
 public/src/ajaxify.js | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

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');