mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03:00
Improve and cleanup isMobile
This commit is contained in:
parent
10f9ce39d9
commit
b1c7bd2c50
15 changed files with 27 additions and 43 deletions
|
|
@ -8,7 +8,7 @@ export const $htmlCL = doc.documentElement.classList;
|
|||
export const Settings = rl.settings;
|
||||
|
||||
/** @media screen and (max-width: 600px) { */
|
||||
export const isMobile = () => $htmlCL.contains('rl-mobile'); // || rl.settings.app('mobile')
|
||||
export const isMobile = () => $htmlCL.contains('rl-mobile');
|
||||
|
||||
export const dropdownVisibility = ko.observable(false).extend({ rateLimit: 0 });
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue