mirror of
https://github.com/9001/copyparty.git
synced 2025-09-28 12:42:26 -06:00
ie11 fixes
This commit is contained in:
parent
f0caf88185
commit
b59b915962
|
@ -1555,11 +1555,13 @@ html {
|
|||
#treepar {
|
||||
z-index: 1;
|
||||
position: fixed;
|
||||
background: #fff;
|
||||
background: var(--tree-bg);
|
||||
left: -.96em;
|
||||
width: calc(.3em + var(--nav-sz) - var(--sbw));
|
||||
border-bottom: 1px solid var(--bg-u5);
|
||||
overflow: hidden;
|
||||
border-right: .5em solid #999\9;
|
||||
}
|
||||
#treepar.off {
|
||||
display: none;
|
||||
|
@ -1995,6 +1997,7 @@ html.y #doc .line-highlight {
|
|||
}
|
||||
#seldoc.sel {
|
||||
color: var(--fg2-max);
|
||||
background: #f0f;
|
||||
background: var(--g-sel-b1);
|
||||
}
|
||||
#pvol,
|
||||
|
@ -2014,6 +2017,7 @@ a.btn,
|
|||
user-select: none;
|
||||
}
|
||||
#hkhelp {
|
||||
background: #fff;
|
||||
background: var(--bg);
|
||||
}
|
||||
#hkhelp table {
|
||||
|
|
|
@ -217,7 +217,7 @@ function convert_markdown(md_text, dest_dom) {
|
|||
catch (ex) {
|
||||
if (IE) {
|
||||
dest_dom.innerHTML = 'IE cannot into markdown ;_;';
|
||||
return;
|
||||
return false;
|
||||
}
|
||||
|
||||
if (ext)
|
||||
|
@ -344,6 +344,8 @@ function convert_markdown(md_text, dest_dom) {
|
|||
}
|
||||
catch (ex) { }
|
||||
}, 1);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -1051,7 +1051,9 @@ ebi('help').onclick = function (e) {
|
|||
var dom = ebi('helpbox');
|
||||
var dtxt = dom.getElementsByTagName('textarea');
|
||||
if (dtxt.length > 0) {
|
||||
convert_markdown(dtxt[0].value, dom);
|
||||
var txt = dtxt[0].value;
|
||||
if (!convert_markdown(txt, dom))
|
||||
dom.innerText = txt.split('## markdown')[0];
|
||||
dom.innerHTML = '<a href="#" id="helpclose">close</a>' + dom.innerHTML;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue