fix settings button bug

This commit is contained in:
Antelle 2015-10-22 21:08:11 +03:00
parent 6b39d53d30
commit 2249f6282f
1 changed files with 1 additions and 1 deletions

View File

@ -197,7 +197,7 @@ var AppView = Backbone.View.extend({
menuItem = menuItem.get('items').first();
}
if (this.views.settings) {
if (this.views.settings.page === page) {
if (this.views.settings.page === page || !menuItem) {
this.showEntries();
} else {
if (menuItem) {