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:
lilia 2016-10-06 02:56:30 +09:00
parent 7362d6a2c3
commit 34888160bb

View file

@ -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');
},