mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-08 06:55:46 +01:00
allow plugins/widgets to define widgets; moved sample widgets out of core and into nodebb-widget-essentials
This commit is contained in:
@@ -235,7 +235,6 @@ define(['forum/admin/settings'], function(Settings) {
|
||||
var data = area.data[i],
|
||||
widgetEl = $('.available-widgets [data-widget="' + data.widget + '"]').clone();
|
||||
|
||||
|
||||
widgetArea.append(populateWidget(widgetEl, data.data));
|
||||
appendToggle(widgetEl);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user