diff --git a/www/js/channel/channel.js b/www/js/channel/channel.js index e771ddc..f966c8b 100644 --- a/www/js/channel/channel.js +++ b/www/js/channel/channel.js @@ -357,7 +357,7 @@ class channel{ ["syncTolerance",1], ["liveSyncTolerance", 10], ["syncDelta", 6], - ["theme", "Movie Night"], + ["theme", "The Network"], ["chatWidthMin", 20], ["disablePortrait", false], ["disableSendButton", false], diff --git a/www/js/themeManager.js b/www/js/themeManager.js index ce51298..b7d2570 100644 --- a/www/js/themeManager.js +++ b/www/js/themeManager.js @@ -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