mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-06-06 12:47:13 +02:00
MAJOR CHANGE to theming system:
* Less complex * Themes are only loaded once. Users share avail themes[] objects * Themes are applied to configuration _once_ * Users can switch themes in configuration * Other related improvements
This commit is contained in:
parent
ef047bc515
commit
4fdd3dbbfe
8 changed files with 207 additions and 66 deletions
|
@ -194,13 +194,6 @@ MenuModule.prototype.enter = function(client) {
|
|||
this.client = client;
|
||||
assert(_.isObject(client));
|
||||
|
||||
menuUtil.applyGeneralThemeCustomization( {
|
||||
name : this.menuName,
|
||||
client : this.client,
|
||||
type : 'menus',
|
||||
config : this.menuConfig.config,
|
||||
});
|
||||
|
||||
if(_.isString(this.menuConfig.status)) {
|
||||
this.client.currentStatus = this.menuConfig.status;
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue