Skip to content

Commit

Permalink
Merge pull request #352 from usefathom/tracker-image-position-absolute
Browse files Browse the repository at this point in the history
Tracking img set style to position:absolute
  • Loading branch information
LKaemmerling authored May 2, 2022
2 parents 940f020 + 1d0ca9f commit 4d1bc96
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions assets/src/js/tracker.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 4d1bc96

Please sign in to comment.