aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsD <stoned@derpymail.org>2019-12-19 20:53:26 +0100
committersD <stoned@derpymail.org>2019-12-19 20:53:26 +0100
commit0ead564ceac8de6f3022e71138955aa9d950a8e4 (patch)
treecc2eae8799fd9a6ef67110c4e5cf7704f9d53259
parent26c04f66d7a3cb88a54e085a2dbaac0262aad88d (diff)
don't delete the onerror from the charimage
-rw-r--r--webAO/client.js2
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;
}