From 985c3aff8e0ac272f4ebdadebdbc25ce284444b0 Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Mon, 26 May 2025 07:03:33 +0200 Subject: [PATCH] Remove redundant img creation in animeCat.js --- animeCat.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/animeCat.js b/animeCat.js index a0f28ae..54e0a29 100644 --- a/animeCat.js +++ b/animeCat.js @@ -49,9 +49,6 @@ window.AnimeCat = class AnimeCat { zIndex: '1' }); - this.img = document.createElement('img'); - this.img.src = this.images.default; - // --- Cat image --- this.img = document.createElement('img'); this.img.src = this.images.default;