prevent browser console spam when media fetch returns an error message or JSON payload
This commit is contained in:
parent
2d7918a9b7
commit
39321d13cc
1 changed files with 0 additions and 2 deletions
|
@ -111,8 +111,6 @@ function waitForDecode() {
|
||||||
.then(() => img.value?.decode())
|
.then(() => img.value?.decode())
|
||||||
.then(() => {
|
.then(() => {
|
||||||
loaded.value = true;
|
loaded.value = true;
|
||||||
}, error => {
|
|
||||||
console.log('Error occurred during decoding image', img.value, error);
|
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
loaded.value = false;
|
loaded.value = false;
|
||||||
|
|
Loading…
Add table
Reference in a new issue