mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-14 17:56:16 +01:00
closes #3463
This commit is contained in:
@@ -5,7 +5,11 @@ define('admin/settings', ['uploader', 'sounds'], function(uploader, sounds) {
|
||||
var Settings = {};
|
||||
|
||||
Settings.init = function() {
|
||||
$(window).on('action:config.loaded', Settings.prepare);
|
||||
if (!app.config) {
|
||||
$(window).on('action:config.loaded', Settings.prepare);
|
||||
} else {
|
||||
Settings.prepare();
|
||||
}
|
||||
};
|
||||
|
||||
Settings.populateTOC = function() {
|
||||
|
||||
Reference in New Issue
Block a user