From 9dffc56541417cdf4750e6f5f6cf0c2ce3098874 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Molakvo=C3=A6=20=28skjnldsv=29?= Date: Tue, 7 May 2019 18:25:10 +0200 Subject: [PATCH] Properly set Edge < 16 as incompatible with css vars MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: John Molakvoæ (skjnldsv) --- core/js/js.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/js/js.js b/core/js/js.js index 1efa8953c9..b21b32d2f1 100644 --- a/core/js/js.js +++ b/core/js/js.js @@ -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