[stable16] Properly set Edge < 16 as incompatible with css vars (#15428)

[stable16] Properly set Edge < 16 as incompatible with css vars
This commit is contained in:
John Molakvoæ 2019-05-08 08:54:01 +02:00 committed by GitHub
commit b2e8b1b1c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -913,7 +913,8 @@ function initCore() {
}
// css variables fallback for IE
if (msie > 0 || trident > 0) {
if (msie > 0 || trident > 0 || edge > 0) {
console.info('Legacy browser detected, applying css vars polyfill')
cssVars({
watch: true,
// set edge < 16 as incompatible