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.
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.