mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03:00
Strip .no-css, .csstransitions and .cssanimations
This commit is contained in:
parent
e01e484259
commit
90cec2171a
13 changed files with 25 additions and 76 deletions
|
|
@ -66,12 +66,6 @@ export const bSafari = !bChrome && sUserAgent.includes('safari');
|
|||
*/
|
||||
export const bMobileDevice = (/android|iphone|ipod|ipad|blackberry|mobile/i).test(sUserAgent);
|
||||
|
||||
/**
|
||||
* @type {boolean}
|
||||
*/
|
||||
export const bAnimationSupported =
|
||||
!bMobileDevice && $htmlCL.contains('csstransitions') && $htmlCL.contains('cssanimations');
|
||||
|
||||
/**
|
||||
* @type {boolean}
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue