[themes] fix app launch
This commit is contained in:
parent
74041ab373
commit
2a55a454c5
|
@ -421,8 +421,7 @@ define([
|
|||
Common.NotificationCenter.on('uitheme:countchanged', _fill_themes.bind(me));
|
||||
_fill_themes.call(me);
|
||||
|
||||
if (me.view.btnInterfaceTheme.menu.items.length) {
|
||||
me.btnInterfaceTheme.setMenu(new Common.UI.Menu({items: menuItems}));
|
||||
if (me.btnInterfaceTheme.menu.items.length) {
|
||||
me.btnInterfaceTheme.menu.on('item:click', _.bind(function (menu, item) {
|
||||
var value = item.value;
|
||||
Common.UI.Themes.setTheme(value);
|
||||
|
|
Loading…
Reference in a new issue