You could overwrite the `getElements` method. It's a function that should return a NodeList of elements. How you exclude certain elements is up to you.
``` js
Pjax.prototype.getElements = function() {
return document.querySelectorAll('.js-Pjax:not(.no-Pjax)')
}
new Pjax({})
```
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.
Hi ,
Just wondering if you know a quick way to exclude link elements with certain class such as "a.no-Pjax"
thanks for your help!
CHRIS
You could overwrite the
getElementsmethod. It's a function that should return a NodeList of elements. How you exclude certain elements is up to you.Or you could do