mirror of
https://github.com/rr-/szurubooru.git
synced 2025-07-17 08:26:24 +00:00
client/posts: add custom thumbnail discarding
This commit is contained in:
@ -74,7 +74,7 @@ class Api extends events.EventTarget {
|
||||
}
|
||||
if (files) {
|
||||
for (let key of Object.keys(files)) {
|
||||
req.attach(key, files[key]);
|
||||
req.attach(key, files[key] || new Blob());
|
||||
}
|
||||
}
|
||||
if (this.userName && this.userPassword) {
|
||||
|
Reference in New Issue
Block a user