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

doesn't seem to update when DOM changes #7

Open
ralyodio opened this issue Mar 15, 2015 · 2 comments
Open

doesn't seem to update when DOM changes #7

ralyodio opened this issue Mar 15, 2015 · 2 comments

Comments

@ralyodio
Copy link

I'm using angular which does DOM rendering dynamically.

Your feed icon shows the correct links when I refresh the page, but on dynamic routing it never updates.

Is there a way you can re-parse when the address bar changes?

I think in addition to this event:

document.addEventListener('DOMContentLoaded', main);

You should also add:

window.addEventListener("popstate", main);

I'm not 100% sure this is the correct event, but it might work.

@sylwiaeb
Copy link

@chovy I'm having the same problem and wondering if you have found a way to update the feed?

@ralyodio
Copy link
Author

i have not.

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