mirror of
https://github.com/oxen-io/session-desktop.git
synced 2023-12-14 02:12:57 +01:00
Fix menu behavior
Opening the global menu should close the conversation menu and vice versa. // FREEBIE
This commit is contained in:
parent
2e7c7ce0cc
commit
08da29969c
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue