Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

img in javascript creates space in some pages (includes fix) #664

Closed
anonymous-matomo-user opened this issue Apr 16, 2009 · 1 comment
Closed
Labels
Bug For errors / faults / flaws / inconsistencies etc. Major Indicates the severity or impact or benefit of an issue is much higher than normal but not critical. wontfix If you can reproduce this issue, please reopen the issue or create a new one describing it.
Milestone

Comments

@anonymous-matomo-user
Copy link

File:piwik.js
Version:0.2.34
Line:112

Problem: The img tag produced by the script in piwik.js sometimes creates gaps or spaces wherever my piwik code is on my website

Currently: document.writeln(‘<img src="’+_pk_src+’" alt="" style=“border:0” />’);

Fix: document.writeln(‘<img src="’+_pk_src+’" alt="" style=“border:0;display:none;” />’);

@robocoder
Copy link
Contributor

See ticket #355.

New piwik.js no longer uses document.write or adds image to DOM.

@anonymous-matomo-user anonymous-matomo-user added this to the Piwik 0.6.1 milestone Jul 8, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc. Major Indicates the severity or impact or benefit of an issue is much higher than normal but not critical. wontfix If you can reproduce this issue, please reopen the issue or create a new one describing it.
Projects
None yet
Development

No branches or pull requests

2 participants