It seems that if I try to create a new link on the page, PJax won't work over those links and a full page reload happens instead.
Is there a way to bind PJax to links created at runtime?
It seems that if I try to create a new link on the page, PJax won't work over those links and a full page reload happens instead.
Is there a way to bind PJax to links created at runtime?
As a workaround for this, I'm manually binding the pjax `attachLink` function to any links created at runtime:
```
$('.slick-cloned .episode-preview-link').each(function () {
pjaxInstance.attachLink(this);
});
```
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
It seems that if I try to create a new link on the page, PJax won't work over those links and a full page reload happens instead.
Is there a way to bind PJax to links created at runtime?
As a workaround for this, I'm manually binding the pjax
attachLinkfunction to any links created at runtime:pjaxInstance.refresh()should do it