aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2019-05-07 22:19:21 +0200
committerGitHub <noreply@github.com>2019-05-07 22:19:21 +0200
commit90c6d5805057d93324a27c808a5cdfa77fb9768c (patch)
tree4674bbe7c6b7f0b8d9f60ebc7156a370fb3dce16 /core
parent5893f218c247d4c0829fb74161e663f3903e15ad (diff)
parent9dffc56541417cdf4750e6f5f6cf0c2ce3098874 (diff)
downloadnextcloud-server-90c6d5805057d93324a27c808a5cdfa77fb9768c.tar.gz
nextcloud-server-90c6d5805057d93324a27c808a5cdfa77fb9768c.zip
Merge pull request #15422 from nextcloud/fix/cssvars/edge-support
Properly set Edge < 16 as incompatible with css vars
Diffstat (limited to 'core')
-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