mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-03 04:25:55 +01:00
closes #1428
This commit is contained in:
@@ -9,7 +9,6 @@ var async = require('async'),
|
||||
|
||||
|
||||
(function(Widgets) {
|
||||
|
||||
Widgets.render = function(uid, area, callback) {
|
||||
if (!area.location || !area.template) {
|
||||
callback({
|
||||
@@ -19,6 +18,7 @@ var async = require('async'),
|
||||
|
||||
var rendered = [];
|
||||
|
||||
|
||||
async.parallel({
|
||||
global: function(next) {
|
||||
Widgets.getArea('global', area.location, next);
|
||||
|
||||
Reference in New Issue
Block a user