From e7a9bf4ac46282cd7728561641612772f998f03c 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 6ce10970bde48..965f9fced432d 100644 --- a/core/js/js.js +++ b/core/js/js.js @@ -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