mirror of
https://github.com/philomena-dev/philomena.git
synced 2025-01-20 06:37:59 +01:00
fixes #117, fetch blocked if upload failed
This commit is contained in:
parent
53ad9dd139
commit
6a708f11b6
1 changed files with 6 additions and 0 deletions
|
@ -111,6 +111,12 @@ function setupImageUpload() {
|
|||
disableFetch();
|
||||
}
|
||||
});
|
||||
|
||||
if(remoteUrl.value.length > 0) {
|
||||
enableFetch();
|
||||
} else {
|
||||
disableFetch();
|
||||
}
|
||||
}
|
||||
|
||||
export { setupImageUpload };
|
||||
|
|
Loading…
Reference in a new issue