Fix menu behavior
Opening the global menu should close the conversation menu and vice versa. // FREEBIE
This commit is contained in:
@@ -96,7 +96,8 @@
|
||||
'loadMore .message-list': 'fetchMessages',
|
||||
'focus .send-message': 'focusBottomBar',
|
||||
'blur .send-message': 'unfocusBottomBar',
|
||||
'click .back': 'resetPanel'
|
||||
'click .back': 'resetPanel',
|
||||
'close .menu': 'closeMenu'
|
||||
},
|
||||
|
||||
unfocusBottomBar: function() {
|
||||
|
@@ -125,6 +125,7 @@
|
||||
focusHeader: function() {
|
||||
this.$('.conversation-stack').addClass('inactive');
|
||||
this.$('#header').removeClass('inactive');
|
||||
this.$('.conversation:first .menu').trigger('close');
|
||||
},
|
||||
reloadBackgroundPage: function() {
|
||||
chrome.runtime.reload();
|
||||
|
Reference in New Issue
Block a user