summaryrefslogtreecommitdiffstats
path: root/core/js/js.js
diff options
context:
space:
mode:
Diffstat (limited to 'core/js/js.js')
-rw-r--r--core/js/js.js5
1 files changed, 5 insertions, 0 deletions
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;
});