From 938553ab07d59f6b04b7c4d157142c0c26aeef76 Mon Sep 17 00:00:00 2001 From: "John Molakvoæ (skjnldsv)" Date: Thu, 14 Jun 2018 19:04:09 +0200 Subject: IE11 css vars compatibility 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 | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'core/js/js.js') diff --git a/core/js/js.js b/core/js/js.js index 47fe4c4be58..a7dba7981f7 100644 --- a/core/js/js.js +++ b/core/js/js.js @@ -1342,6 +1342,11 @@ function initCore() { $('html').addClass('edge'); } + // css variables fallback for IE + if (msie > 0 || trident > 0) { + cssVars(); + } + $(window).on('unload.main', function() { OC._unloadCalled = true; }); -- cgit v1.2.3