mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-05-07 15:45:54 +02:00
don't reset the global footer (copyright) when changing themes - they should all be compatible anyways
This commit is contained in:
@@ -76,8 +76,7 @@ var async = require('async'),
|
||||
|
||||
Widgets.reset = function(callback) {
|
||||
var defaultAreas = [
|
||||
{ name: 'Global Sidebar', template: 'global', location: 'sidebar' },
|
||||
{ name: 'Global Footer', template: 'global', location: 'footer' },
|
||||
{ name: 'Global Sidebar', template: 'global', location: 'sidebar' }
|
||||
];
|
||||
|
||||
plugins.fireHook('filter:widgets.getAreas', defaultAreas, function(err, areas) {
|
||||
|
||||
Reference in New Issue
Block a user