diff --git a/animeCat.js b/animeCat.js index 6d36e03..2643e00 100644 --- a/animeCat.js +++ b/animeCat.js @@ -105,6 +105,11 @@ window.AnimeCat = class AnimeCat { this.bubble.appendChild(this.bubblePointer); // --- Zusammenbauen --- + if (!this.wrapper.querySelector('#cat-glow')) { + this.glow = document.createElement('div'); + this.glow.id = 'cat-glow'; + this.wrapper.insertBefore(this.glow, this.img); // vor das Bild +} this.wrapper.appendChild(this.img); this.wrapper.appendChild(this.bubble); this.container.appendChild(this.wrapper);