Skip to content

Node.js based forum software built for the modern web

optimized the transition between pages just a bit

psychobunny88f64b4a790e
diff --git a/public/src/ajaxify.js b/public/src/ajaxify.js
index a7db3bb87a..b4c773e3e2 100644
--- a/public/src/ajaxify.js
+++ b/public/src/ajaxify.js
@@ -43,8 +43,9 @@ var ajaxify = {};
if (templates[tpl_url]) {
window.history.pushState({}, url, "/" + url);
- jQuery('#footer').fadeOut(100);
+ jQuery('#footer').fadeOut(100).removeAttr('id');
jQuery('#content').fadeOut(100);
+ jQuery('<div id="content"></div>').insertBefore('#footer').hide();
load_template(function() {
exec_body_scripts(content);