mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-30 12:39:20 +03:00
Improve and cleanup isMobile
This commit is contained in:
parent
10f9ce39d9
commit
b1c7bd2c50
15 changed files with 27 additions and 43 deletions
|
|
@ -858,11 +858,11 @@ class AppUser extends AbstractApp {
|
|||
}
|
||||
}
|
||||
|
||||
initHorizontalLayoutResizer(sClientSideKeyName) {
|
||||
initHorizontalLayoutResizer() {
|
||||
const top = doc.querySelector('.b-message-list-wrapper'),
|
||||
bottom = doc.querySelector('.b-message-view-wrapper'),
|
||||
fDisable = bDisable => {
|
||||
this.setLayoutResizer(top, bottom, sClientSideKeyName,
|
||||
this.setLayoutResizer(top, bottom, ClientSideKeyName.MessageListSize,
|
||||
(bDisable || !$htmlCL.contains('rl-bottom-preview-pane')) ? null : 'height');
|
||||
};
|
||||
if (top && bottom) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue