mirror of
https://github.com/keeweb/keeweb.git
synced 2024-06-27 07:45:08 +02:00
Change string comparator last char value to 0xfffd
This commit is contained in:
parent
1a421a7b34
commit
7e6892f828
|
@ -1,4 +1,4 @@
|
||||||
const LastChar = String.fromCharCode(0xffffffff);
|
const LastChar = String.fromCharCode(0xfffd);
|
||||||
|
|
||||||
const ciCompare = (window.Intl && window.Intl.Collator && !/Edge/.test(navigator.userAgent)) // bugged in Edge: #808
|
const ciCompare = (window.Intl && window.Intl.Collator && !/Edge/.test(navigator.userAgent)) // bugged in Edge: #808
|
||||||
? new Intl.Collator(undefined, { sensitivity: 'base' }).compare
|
? new Intl.Collator(undefined, { sensitivity: 'base' }).compare
|
||||||
|
|
Loading…
Reference in New Issue
Block a user