mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-08 23:15:48 +01:00
optimized the transition between pages just a bit
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user