concept of default theme

This commit is contained in:
Matthew Hodgson 2017-10-20 18:42:29 +01:00
parent a85a011db9
commit 37fd19290f
2 changed files with 7 additions and 2 deletions

View file

@ -888,7 +888,7 @@ module.exports = React.createClass({
*/
_onSetTheme: function(theme) {
if (!theme) {
theme = 'light';
theme = this.props.config.default_theme || 'light';
}
// look for the stylesheet elements.