mirror of
https://github.com/fastmail/Squire.git
synced 2024-12-22 15:23:29 -05:00
Fix MSIE detection regex
This commit is contained in:
parent
96b03d4aaf
commit
c3d4d551ed
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ var isIElt11 = /Trident\/[456]\./.test( ua );
|
||||||
var isPresto = !!win.opera;
|
var isPresto = !!win.opera;
|
||||||
var isEdge = /Edge\//.test( ua );
|
var isEdge = /Edge\//.test( ua );
|
||||||
var isWebKit = !isEdge && /WebKit\//.test( ua );
|
var isWebKit = !isEdge && /WebKit\//.test( ua );
|
||||||
var isIE = /MSIE/.test( ua );
|
var isIE = /Trident\/[4567]\./.test( ua );
|
||||||
|
|
||||||
var ctrlKey = isMac ? 'meta-' : 'ctrl-';
|
var ctrlKey = isMac ? 'meta-' : 'ctrl-';
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue