mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-08 15:05:46 +01:00
bad commit earlier, lost the footer. just reduced delay to 200ms now and it looks much better
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user