From 0ead564ceac8de6f3022e71138955aa9d950a8e4 Mon Sep 17 00:00:00 2001 From: sD Date: Thu, 19 Dec 2019 20:53:26 +0100 Subject: don't delete the onerror from the charimage --- webAO/client.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'webAO/client.js') 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; } -- cgit