]> source.dussan.org Git - nextcloud-server.git/commitdiff
Properly set Edge < 16 as incompatible with css vars 15422/head
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Tue, 7 May 2019 16:25:10 +0000 (18:25 +0200)
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Tue, 7 May 2019 16:30:16 +0000 (18:30 +0200)
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
core/js/js.js

index 1efa8953c9909398c3743b536b331e770507faa7..b21b32d2f181cef19bcb9b7b35abd3a065fdc2d4 100644 (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