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

v1.18.x
psychobunny 12 years ago
parent 3dc17a5943
commit 42b4f90fed

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

Loading…
Cancel
Save