Skip to content

Node.js based forum software built for the modern web

fixed bug with sorting of widgets

psychobunny18369fae7e72
diff --git a/src/widgets.js b/src/widgets.js
index d7898c465a..9f865b02fa 100644
--- a/src/widgets.js
+++ b/src/widgets.js
@@ -16,7 +16,7 @@ var async = require('async'),
var rendered = [];
Widgets.getArea(area.template, area.location, function(err, widgets) {
- async.each(widgets, function(widget, next) {
+ async.eachSeries(widgets, function(widget, next) {
plugins.fireHook('filter:widget.render:' + widget.widget, {
uid: uid,
area: area,