From 42b4f90fedada0f4937abaa28c81bc7d7a40137c Mon Sep 17 00:00:00 2001 From: psychobunny Date: Thu, 9 May 2013 19:23:46 +0000 Subject: [PATCH] bad commit earlier, lost the footer. just reduced delay to 200ms now and it looks much better --- public/src/ajaxify.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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('
').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);