mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-03 12:36:02 +01:00
trigger action:windows.loaded on coldload if widgets are already rendered
This commit is contained in:
@@ -15,6 +15,7 @@
|
||||
locations.forEach(function (location) {
|
||||
var area = $('#content [widget-area="' + location + '"]');
|
||||
if (area.length) {
|
||||
$(window).trigger('action:widgets.loaded', {});
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user