mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-10 16:05:49 +01:00
on cold load, only display page after widgets are rendered
This commit is contained in:
@@ -654,6 +654,8 @@ var socket,
|
||||
createHeaderTooltips();
|
||||
|
||||
ajaxify.renderWidgets(tpl_url, url, function() {
|
||||
ajaxify.fadeIn();
|
||||
|
||||
$(window).trigger('action:ajaxify.end', {
|
||||
url: url
|
||||
});
|
||||
|
||||
@@ -214,4 +214,4 @@
|
||||
|
||||
<input id="csrf_token" type="hidden" template-variable="csrf" value="{csrf}" />
|
||||
|
||||
<div class="container" id="content">
|
||||
<div class="container ajaxifying" id="content">
|
||||
|
||||
Reference in New Issue
Block a user