mirror of
https://github.com/ONLYOFFICE/onlyoffice.github.io.git
synced 2026-04-07 14:04:30 +08:00
Fix for ie11
This commit is contained in:
@ -72,7 +72,8 @@
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 70%;
|
||||
background-color: #F1F1F1;
|
||||
background-color: #FFFFFF;
|
||||
color: #444444;
|
||||
overflow: hidden;
|
||||
|
||||
border-right-color: #CBCBCB;
|
||||
@ -352,9 +353,9 @@
|
||||
<div id="menu_functions" style="display: none;">
|
||||
<div class="menu_header">
|
||||
<label class="i18n header">Custom Functions</label>
|
||||
<button id="create_functions" title="Add custom function" class="btn-text-default header_btn" style="border: none !important;">
|
||||
<div id="create_functions" title="Add custom function" class="btn-text-default header_btn" style="border: none !important;">
|
||||
<img class="img_plus" src="./resources/img/plus_dark.svg" style="width: 20px; height: 20px;" />
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
<div id="menu_content_functions" class="menu_padding"></div>
|
||||
</div>
|
||||
|
||||
@ -1089,9 +1089,9 @@ ace.config.loadModule('ace/ext/html_beautify', function (beautify) {
|
||||
imgSrc += '_dark.svg'
|
||||
}
|
||||
let imgArr = document.querySelectorAll('.img_plus');
|
||||
imgArr.forEach(function(img){
|
||||
img.setAttribute('src', imgSrc);
|
||||
});
|
||||
for (let i = 0; i < imgArr.length; i++) {
|
||||
imgArr[i].setAttribute('src', imgSrc);
|
||||
}
|
||||
var styleTheme = document.createElement('style');
|
||||
styleTheme.type = 'text/css';
|
||||
styleTheme.innerHTML = rules;
|
||||
|
||||
Reference in New Issue
Block a user