From 88f64b4a790e73dd25e361bef6dfcc1225500703 Mon Sep 17 00:00:00 2001 From: psychobunny Date: Thu, 9 May 2013 15:39:52 +0000 Subject: [PATCH] optimized the transition between pages just a bit --- public/src/ajaxify.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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('
').insertBefore('#footer').hide(); load_template(function() { exec_body_scripts(content);