mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-04 15:07:02 +03:00
Small fixes
Utf8 clear supports icon unicode
This commit is contained in:
parent
e6725198c4
commit
19f089d0bf
15 changed files with 141 additions and 62 deletions
|
|
@ -7,7 +7,6 @@
|
|||
Globals = {},
|
||||
|
||||
window = require('window'),
|
||||
is = require('is'),
|
||||
_ = require('_'),
|
||||
$ = require('$'),
|
||||
ko = require('ko'),
|
||||
|
|
@ -69,14 +68,21 @@
|
|||
Globals.bUnload = false;
|
||||
|
||||
/**
|
||||
* @type {boolean}
|
||||
* @type {string}
|
||||
*/
|
||||
Globals.bTabletDevice = is.tablet();
|
||||
Globals.sUserAgent = 'navigator' in window && 'userAgent' in window.navigator &&
|
||||
window.navigator.userAgent.toLowerCase() || '';
|
||||
|
||||
/**
|
||||
* @type {boolean}
|
||||
*/
|
||||
Globals.bMobileDevice = is.mobile() || is.tablet();
|
||||
Globals.bMobileDevice =
|
||||
/android/i.test(Globals.sUserAgent) ||
|
||||
/iphone/i.test(Globals.sUserAgent) ||
|
||||
/ipod/i.test(Globals.sUserAgent) ||
|
||||
/ipad/i.test(Globals.sUserAgent) ||
|
||||
/blackberry/i.test(Globals.sUserAgent)
|
||||
;
|
||||
|
||||
/**
|
||||
* @type {boolean}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue