mirror of
https://github.com/thelounge/thelounge.git
synced 2024-06-04 14:52:19 +02:00
Remove trailing period in maxFileSize Error
This commit is contained in:
parent
63b71e8f7c
commit
024c1d00b9
|
@ -125,7 +125,7 @@ class Uploader {
|
|||
if (maxFileSize > 0 && file.size > maxFileSize) {
|
||||
const maxFileSizeInMB = (maxFileSize / 1024 / 1024).toFixed(0);
|
||||
this.handleResponse({
|
||||
error: `File "${file.name}" is larger than the maximum allowed size of ${maxFileSizeInMB} MB.`,
|
||||
error: `File "${file.name}" is larger than the maximum allowed size of ${maxFileSizeInMB} MB`,
|
||||
});
|
||||
|
||||
continue;
|
||||
|
|
Loading…
Reference in a new issue