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

Error when DOM not loaded #1

Open
pabloacastillo opened this issue Jul 17, 2015 · 1 comment
Open

Error when DOM not loaded #1

pabloacastillo opened this issue Jul 17, 2015 · 1 comment

Comments

@pabloacastillo
Copy link

Hi there,

i had a problem with my instalation.
I changed this line in limit-post-titles.js

    window.setTimeout(limiter.init, 0);

with this:

    document.addEventListener("DOMContentLoaded",function(event){limiter.init();});

and the problem went away.

Screenshot of the error in chrome
Screenshot of the error in chrome

@steve228uk
Copy link
Owner

Hi Pablo,

This has been fixed in 1.0.2. I'll commit it here later today.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants