Fix re-appearing disappearing message ui
Fix a bug where entering the message detail view and then going back would cause the timer menu to appear.
This commit is contained in:
parent
7362d6a2c3
commit
34888160bb
1 changed files with 2 additions and 2 deletions
|
@ -276,13 +276,13 @@
|
|||
|
||||
listenBack: function(view) {
|
||||
this.panel = view;
|
||||
this.$('.main.panel, .menu').hide();
|
||||
this.$('.main.panel, .header-buttons.right').hide();
|
||||
this.$('.back').show();
|
||||
view.$el.insertBefore(this.$('.panel'));
|
||||
},
|
||||
resetPanel: function() {
|
||||
this.panel.remove();
|
||||
this.$('.main.panel, .menu').show();
|
||||
this.$('.main.panel, .header-buttons.right').show();
|
||||
this.$('.back').hide();
|
||||
this.$el.trigger('force-resize');
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue