mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-03-06 04:21:17 +01:00
#3522 also for settings v2
This commit is contained in:
@@ -468,6 +468,9 @@ define('settings', function () {
|
||||
}
|
||||
|
||||
$(formEl).deserialize(values);
|
||||
$(formEl).find('input[type="checkbox"]').each(function() {
|
||||
$(this).parents('.mdl-switch').toggleClass('is-checked', $(this).is(':checked'));
|
||||
});
|
||||
$(window).trigger('action:admin.settingsLoaded');
|
||||
|
||||
callback(null, values);
|
||||
|
||||
Reference in New Issue
Block a user