Skip to content

Node.js based forum software built for the modern web

bad commit earlier, lost the footer. just reduced delay to 200ms now and it looks much better

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