forked from rDrama/rDrama
remove unnecessary if condition
parent
0cbe0b5d3b
commit
ed0b3c37a9
|
@ -505,12 +505,10 @@ function handle_files(input, newfiles) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
if (location.pathname != '/chat') {
|
|
||||||
for (const file of newfiles) {
|
for (const file of newfiles) {
|
||||||
insertText(ta, `[${file.name}]`);
|
insertText(ta, `[${file.name}]`);
|
||||||
}
|
}
|
||||||
markdown(ta)
|
markdown(ta)
|
||||||
}
|
|
||||||
|
|
||||||
autoExpand(ta)
|
autoExpand(ta)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue