optimized the transition between pages just a bit

This commit is contained in:
psychobunny
2013-05-09 15:39:52 +00:00
parent e9a552eab4
commit 88f64b4a79

View File

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