Changed default theme for new users to 'The Network'
This commit is contained in:
parent
4af9d25573
commit
315c5340f3
2 changed files with 8 additions and 2 deletions
|
|
@ -30,6 +30,12 @@ class themeManager{
|
|||
["The Network", "/css/theme/the-network.css"]
|
||||
]);
|
||||
|
||||
|
||||
/**
|
||||
* Sets default theme for new users
|
||||
*/
|
||||
this.defaultTheme = "The Network";
|
||||
|
||||
/**
|
||||
* Define property to hold theme link DOM node
|
||||
*/
|
||||
|
|
@ -47,7 +53,7 @@ class themeManager{
|
|||
//If we didnt get a theme to set
|
||||
if(theme == null){
|
||||
//Use the first theme in the list
|
||||
theme = Array.from(this.themes.keys())[0];
|
||||
theme = this.defaultTheme;
|
||||
}
|
||||
|
||||
//If we have a link already setup
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue