mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-30 12:39:20 +03:00
Remove the openDropdownTrigger and replace some with a better toggle
This commit is contained in:
parent
9d876d1146
commit
df7888e3a6
8 changed files with 8 additions and 27 deletions
|
|
@ -36,7 +36,7 @@ export class SystemDropDownUserView extends AbstractViewRight {
|
|||
|
||||
addObservablesTo(this, {
|
||||
currentAudio: '',
|
||||
accountMenuDropdownTrigger: false
|
||||
accountMenu: false
|
||||
});
|
||||
|
||||
this.allowContacts = AppUserStore.allowContacts();
|
||||
|
|
@ -115,7 +115,7 @@ export class SystemDropDownUserView extends AbstractViewRight {
|
|||
registerShortcut('m', '', [ScopeMessageList, ScopeMessageView, ScopeSettings], () => {
|
||||
if (!this.viewModelDom.hidden) {
|
||||
// exitFullscreen();
|
||||
this.accountMenuDropdownTrigger(true);
|
||||
this.accountMenu().ddBtn.toggle();
|
||||
return false;
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue