Merge pull request #15422 from nextcloud/fix/cssvars/edge-support

Properly set Edge < 16 as incompatible with css vars
This commit is contained in:
Morris Jobke 2019-05-07 22:19:21 +02:00 committed by GitHub
commit 90c6d58050
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -698,7 +698,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