forked from MarseyWorld/MarseyWorld
remove unnecessary if condition
parent
0cbe0b5d3b
commit
ed0b3c37a9
|
@ -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)
|
||||
}
|
||||
|
||||
autoExpand(ta)
|
||||
|
||||
|
|
Loading…
Reference in New Issue