}\r
\r
jobs.registerJob('load_text_theme');\r
- text_theme = opts.text_theme;\r
- if (!text_theme) {\r
- $.getJSON(opts.base_path + '/assets/text_themes/default.json', textThemeLoaded);\r
- } else {\r
- $.getJSON(opts.base_path + '/assets/text_themes/' + text_theme + '.json', textThemeLoaded);\r
- }\r
+ text_theme = opts.server_settings.client.settings.text_theme || 'default';\r
+ $.getJSON(opts.base_path + '/assets/text_themes/' + text_theme + '.json', textThemeLoaded);\r
},\r
\r
start: function() {\r
opts.translations = data.translations;\r
opts.locale = data.locale;\r
opts.themes = data.themes;\r
- opts.text_theme = data.server_settings.client.settings.text_theme;\r
\r
if (typeof data.kiwi_server !== 'undefined')\r
opts.kiwi_server = data.kiwi_server;\r