mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-07 22:45:46 +01:00
render widgets sooner
This commit is contained in:
@@ -93,6 +93,7 @@ var ajaxify = ajaxify || {};
|
||||
templates.parse(tpl_url, data, function(template) {
|
||||
translator.translate(template, function(translatedTemplate) {
|
||||
$('#content').html(translatedTemplate);
|
||||
ajaxify.widgets.render(tpl_url, url);
|
||||
|
||||
ajaxify.variables.parse();
|
||||
|
||||
@@ -106,8 +107,6 @@ var ajaxify = ajaxify || {};
|
||||
|
||||
app.processPage();
|
||||
|
||||
ajaxify.widgets.render(tpl_url, url);
|
||||
|
||||
$('#content, #footer').stop(true, true).removeClass('ajaxifying');
|
||||
ajaxify.initialLoad = false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user