Skip to content

Node.js based forum software built for the modern web

on cold load, only display page after widgets are rendered

psychobunny0211b4484bc1
diff --git a/public/src/app.js b/public/src/app.js
index a4bab75462..15abe8b498 100644
--- a/public/src/app.js
+++ b/public/src/app.js
@@ -654,6 +654,8 @@ var socket,
createHeaderTooltips();
ajaxify.renderWidgets(tpl_url, url, function() {
+ ajaxify.fadeIn();
+
$(window).trigger('action:ajaxify.end', {
url: url
});
diff --git a/public/templates/header.tpl b/public/templates/header.tpl
index decbae43da..ca0e911260 100644
--- a/public/templates/header.tpl
+++ b/public/templates/header.tpl
@@ -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">