forked from rDrama/rDrama
1
0
Fork 0

remove unnecessary if condition

master
Aevann 2023-08-23 02:21:49 +03:00
parent 0cbe0b5d3b
commit ed0b3c37a9
1 changed files with 3 additions and 5 deletions

View File

@ -505,12 +505,10 @@ function handle_files(input, newfiles) {
return
}
if (location.pathname != '/chat') {
for (const file of newfiles) {
insertText(ta, `[${file.name}]`);
}
markdown(ta)
for (const file of newfiles) {
insertText(ta, `[${file.name}]`);
}
markdown(ta)
autoExpand(ta)