Pjax Page Transition in combination with JS on a page

Hi there,

I have some pages where I am using a custom JS code to rebuild a feature list for mobile devices. This code is located directly in the pages where its needed.

As soon as I enable pjax page transition, this JS code does not work anymore.

A bug?

Thanks a lot

No bug, but expected behavior. You need to re-init your code on page view using the related code areas on the pjax admin page. You’ll get more information here: Page Transitions – Bricksforge Docs

1 Like