From 6684f3fce6e90fd0574d7bab63b629554ab03ef6 Mon Sep 17 00:00:00 2001 From: stonedDiscord Date: Wed, 20 Nov 2024 13:31:50 +0000 Subject: Prettified Code! --- webAO/dom/imgError.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'webAO/dom/imgError.ts') diff --git a/webAO/dom/imgError.ts b/webAO/dom/imgError.ts index fdb6122..dfc6c92 100644 --- a/webAO/dom/imgError.ts +++ b/webAO/dom/imgError.ts @@ -3,8 +3,8 @@ * @param {HTMLImageElement} image the element containing the missing image */ export function imgError(image: HTMLImageElement) { - image.onerror = null; - image.src = ""; // unload so the old sprite doesn't persist - return true; + image.onerror = null; + image.src = ""; // unload so the old sprite doesn't persist + return true; } -window.imgError = imgError; \ No newline at end of file +window.imgError = imgError; -- cgit