diff options
| author | sD <stoned@derpymail.org> | 2019-12-19 20:53:26 +0100 |
|---|---|---|
| committer | sD <stoned@derpymail.org> | 2019-12-19 20:53:26 +0100 |
| commit | 0ead564ceac8de6f3022e71138955aa9d950a8e4 (patch) | |
| tree | cc2eae8799fd9a6ef67110c4e5cf7704f9d53259 /webAO/client.js | |
| parent | 26c04f66d7a3cb88a54e085a2dbaac0262aad88d (diff) | |
don't delete the onerror from the charimage
Diffstat (limited to 'webAO/client.js')
| -rw-r--r-- | webAO/client.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webAO/client.js b/webAO/client.js index 7a0f467..411a8b1 100644 --- a/webAO/client.js +++ b/webAO/client.js @@ -1504,7 +1504,7 @@ window.changeCharacter = changeCharacter; * @param {HTMLImageElement} image the element containing the missing image */ export function charError(image) { - image.onerror = ""; + console.warn(image.src+" is missing from webAO"); image.src = "misc/placeholder.gif"; return true; } |
