temporary fix for templates loading twice

This commit is contained in:
psychobunny
2013-05-07 17:15:42 +00:00
parent 6ebc5398a7
commit 4b32089367

View File

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