[stable14] Set Edge < 16 as incompatible with css vars
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
parent
021fcc5011
commit
5fc0559fb7
|
@ -1363,7 +1363,7 @@ function initCore() {
|
||||||
|
|
||||||
// css variables fallback for IE
|
// css variables fallback for IE
|
||||||
if (msie > 0 || trident > 0 || edge > 0) {
|
if (msie > 0 || trident > 0 || edge > 0) {
|
||||||
console.debug('Legacy browser detected, applying css vars polyfill')
|
console.info('Legacy browser detected, applying css vars polyfill')
|
||||||
cssVars({
|
cssVars({
|
||||||
// set edge < 16 as incompatible
|
// set edge < 16 as incompatible
|
||||||
onlyLegacy: !(/Edge\/([0-9]{2})\./i.test(navigator.userAgent)
|
onlyLegacy: !(/Edge\/([0-9]{2})\./i.test(navigator.userAgent)
|
||||||
|
|
Loading…
Reference in New Issue