mirror of
https://github.com/vector-im/element-web.git
synced 2025-12-13 05:11:09 +01:00
Typo
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
0273909a43
commit
a32aca434c
@ -75,7 +75,7 @@ function checkBrowserFeatures(): boolean {
|
|||||||
() => window.RegExp?.prototype && "unicodeSets" in window.RegExp.prototype,
|
() => window.RegExp?.prototype && "unicodeSets" in window.RegExp.prototype,
|
||||||
);
|
);
|
||||||
// ES2024: https://402.ecma-international.org/9.0/#sec-intl.segmenter
|
// ES2024: https://402.ecma-international.org/9.0/#sec-intl.segmenter
|
||||||
// The built-in modernizer 'intl' check only checks for te presence of the Intl object, not the Segmenter,
|
// The built-in modernizer 'intl' check only checks for the presence of the Intl object, not the Segmenter,
|
||||||
// and older Firefox has the former but not the latter, so we add our own.
|
// and older Firefox has the former but not the latter, so we add our own.
|
||||||
window.Modernizr.addTest("intlsegmenter", () => typeof window.Intl?.Segmenter === "function");
|
window.Modernizr.addTest("intlsegmenter", () => typeof window.Intl?.Segmenter === "function");
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user