temporary fix for templates loading twice

v1.18.x
psychobunny 12 years ago
parent 6ebc5398a7
commit 4b32089367

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

Loading…
Cancel
Save