IE11 css vars compatibility
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
parent
4f0a318e02
commit
938553ab07
|
@ -15,7 +15,8 @@
|
||||||
"autosize/dist/autosize.min.js",
|
"autosize/dist/autosize.min.js",
|
||||||
"DOMPurify/dist/purify.min.js",
|
"DOMPurify/dist/purify.min.js",
|
||||||
"snapjs/dist/latest/snap.js",
|
"snapjs/dist/latest/snap.js",
|
||||||
"select2/select2.js"
|
"select2/select2.js",
|
||||||
|
"css-vars-ponyfill/dist/css-vars-ponyfill.min.js"
|
||||||
],
|
],
|
||||||
"libraries": [
|
"libraries": [
|
||||||
"jquery-showpassword.js",
|
"jquery-showpassword.js",
|
||||||
|
|
|
@ -1342,6 +1342,11 @@ function initCore() {
|
||||||
$('html').addClass('edge');
|
$('html').addClass('edge');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// css variables fallback for IE
|
||||||
|
if (msie > 0 || trident > 0) {
|
||||||
|
cssVars();
|
||||||
|
}
|
||||||
|
|
||||||
$(window).on('unload.main', function() {
|
$(window).on('unload.main', function() {
|
||||||
OC._unloadCalled = true;
|
OC._unloadCalled = true;
|
||||||
});
|
});
|
||||||
|
|
|
@ -176,3 +176,10 @@ DOMPurify/**
|
||||||
# strengthify
|
# strengthify
|
||||||
strengthify/examples.html
|
strengthify/examples.html
|
||||||
strengthify/examples.png
|
strengthify/examples.png
|
||||||
|
|
||||||
|
# underscore
|
||||||
|
css-vars-ponyfill/**
|
||||||
|
!css-vars-ponyfill/dist
|
||||||
|
!css-vars-ponyfill/dist/css-vars-ponyfill.min.js
|
||||||
|
!css-vars-ponyfill/dist/css-vars-ponyfill.min.js.map
|
||||||
|
!css-vars-ponyfill/LICENSE
|
|
@ -0,0 +1,21 @@
|
||||||
|
MIT License
|
||||||
|
|
||||||
|
Copyright (c) 2018 John Hildenbiddle
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
in the Software without restriction, including without limitation the rights
|
||||||
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
copies of the Software, and to permit persons to whom the Software is
|
||||||
|
furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in all
|
||||||
|
copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
SOFTWARE.
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -818,7 +818,7 @@ span.version {
|
||||||
padding: 14px;
|
padding: 14px;
|
||||||
opacity: 0.5;
|
opacity: 0.5;
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
}.
|
}
|
||||||
.actions {
|
.actions {
|
||||||
display: flex;
|
display: flex;
|
||||||
}
|
}
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -41,7 +41,7 @@ const defaults = {
|
||||||
usercount: 0,
|
usercount: 0,
|
||||||
disabled: 0
|
disabled: 0
|
||||||
}
|
}
|
||||||
}
|
};
|
||||||
|
|
||||||
const state = {
|
const state = {
|
||||||
users: [],
|
users: [],
|
||||||
|
|
Loading…
Reference in New Issue