forked from rDrama/rDrama
fix multifile issue
parent
d8cf302a43
commit
59ce111b79
|
@ -468,10 +468,10 @@ function handle_files(input, newfiles) {
|
||||||
span.innerHTML += file.name.substr(0, 30);
|
span.innerHTML += file.name.substr(0, 30);
|
||||||
if (location.pathname != '/chat')
|
if (location.pathname != '/chat')
|
||||||
if (ta.value)
|
if (ta.value)
|
||||||
ta.setRangeText(`\n[${file.name}]`);
|
ta.value += `\n[${file.name}]`
|
||||||
else
|
else
|
||||||
ta.setRangeText(`[${file.name}]`);
|
ta.value += `[${file.name}]`
|
||||||
}
|
}
|
||||||
|
|
||||||
autoExpand(ta)
|
autoExpand(ta)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue