mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-03-05 20:11:26 +01:00
don't actually need to restart nodebb to apply skins
This commit is contained in:
@@ -32,12 +32,9 @@ define('admin/appearance/skins', function() {
|
||||
app.alert({
|
||||
alert_id: 'admin:theme',
|
||||
type: 'info',
|
||||
title: 'Theme Changed',
|
||||
message: 'Please restart your NodeBB to fully activate this theme',
|
||||
timeout: 5000,
|
||||
clickfn: function() {
|
||||
socket.emit('admin.restart');
|
||||
}
|
||||
title: 'Skin Updated',
|
||||
message: themeId + ' skin was successfully applied',
|
||||
timeout: 5000
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user