mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-06-06 12:47:13 +02:00
* Start on new theme re-work
* theme_info.json -> theme.json * Allow pipe codes for styleSGRx
This commit is contained in:
parent
58746ca9a9
commit
2aa43295e3
10 changed files with 68 additions and 61 deletions
|
@ -25,9 +25,9 @@ function login(callingMenu, formData, extraArgs) {
|
|||
async.parallel(
|
||||
[
|
||||
function loadThemeConfig(callback) {
|
||||
theme.getThemeInfo(client.user.properties.theme_id, function themeInfo(err, info) {
|
||||
client.currentThemeInfo = info;
|
||||
callback(null);
|
||||
theme.loadTheme(client.user.properties.theme_id, function themeLoaded(err, theme) {
|
||||
client.currentTheme = theme;
|
||||
callback(null); // always non-fatal
|
||||
});
|
||||
}
|
||||
],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue