aboutsummaryrefslogtreecommitdiffstats
path: root/core/js
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2019-05-07 18:25:10 +0200
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2019-05-07 18:30:16 +0200
commit9dffc56541417cdf4750e6f5f6cf0c2ce3098874 (patch)
tree4674bbe7c6b7f0b8d9f60ebc7156a370fb3dce16 /core/js
parent5893f218c247d4c0829fb74161e663f3903e15ad (diff)
downloadnextcloud-server-9dffc56541417cdf4750e6f5f6cf0c2ce3098874.tar.gz
nextcloud-server-9dffc56541417cdf4750e6f5f6cf0c2ce3098874.zip
Properly set Edge < 16 as incompatible with css vars
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'core/js')
-rw-r--r--core/js/js.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/js/js.js b/core/js/js.js
index 1efa8953c99..b21b32d2f18 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