mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-31 04:59:21 +03:00
Resolve #298
This commit is contained in:
parent
40a0391092
commit
13f270f426
9 changed files with 75 additions and 90 deletions
|
|
@ -9,7 +9,8 @@ import { UNUSED_OPTION_VALUE } from 'Common/Consts';
|
|||
import { doc, leftPanelDisabled, moveAction,
|
||||
Settings, SettingsCapa, SettingsGet,
|
||||
addEventsListeners,
|
||||
addShortcut, registerShortcut, formFieldFocused
|
||||
addShortcut, registerShortcut, formFieldFocused,
|
||||
isFullscreen, toggleFullscreen
|
||||
} from 'Common/Globals';
|
||||
|
||||
import { computedPaginatorHelper, showMessageComposer, populateMessageBody } from 'Common/UtilsUser';
|
||||
|
|
@ -699,7 +700,7 @@ export class MailMessageList extends AbstractViewRight {
|
|||
return false;
|
||||
}
|
||||
if (MessageUserStore.message() && this.useAutoSelect()) {
|
||||
MessageUserStore.toggleFullScreen();
|
||||
isFullscreen() || toggleFullscreen();
|
||||
return false;
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue