From 1d0ca9f97efe32fd0257b4a04d5d535b7daca46a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lukas=20K=C3=A4mmerling?= Date: Mon, 2 May 2022 22:09:57 +0200 Subject: [PATCH] Tracking img set style to position:absolute This is based on feedback i got from Jack, let's pray that fixes it. (Hopefully) Closes #234 --- assets/src/js/tracker.js | 1 + 1 file changed, 1 insertion(+) diff --git a/assets/src/js/tracker.js b/assets/src/js/tracker.js index dadaaf7..4d68097 100644 --- a/assets/src/js/tracker.js +++ b/assets/src/js/tracker.js @@ -169,6 +169,7 @@ let img = document.createElement('img'); img.setAttribute('alt', ''); img.setAttribute('aria-hidden', 'true'); + img.setAttribute('style', 'position:absolute'); img.src = url + stringifyObject(d); img.addEventListener('load', function() { let midnight = new Date();