diff --git a/extensions/user-theme/extension.js b/extensions/user-theme/extension.js index 136b6f5f..a9f095ee 100644 --- a/extensions/user-theme/extension.js +++ b/extensions/user-theme/extension.js @@ -31,9 +31,11 @@ ThemeManager.prototype = { _stylesheet = _userCssStylesheet; } - global.log('loading user theme: ' + _stylesheet) - Main.setThemeStylesheet(_stylesheet); - Main.loadTheme(); + if (_stylesheet) { + global.log('loading user theme: ' + _stylesheet) + Main.setThemeStylesheet(_stylesheet); + Main.loadTheme(); + } } }