mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-08 15:05:46 +01:00
optimized widget call by bundling all queries into one for #1428; fixes active users widget crash
also fixes b3819fd076 properly
This commit is contained in:
@@ -93,7 +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, function() {
|
||||
ajaxify.widgets.render(tpl_url, url, function() {
|
||||
if (typeof callback === 'function') {
|
||||
callback();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user