I am trying to modify subst.js function so I can create a new class which hides content for every page except the last one.
I found subst.js under report/static/src/js/subst.js. As my changes were not working I decided to make it simple and I simply removed the logic to change topage class. But my reports are still displaying the last page.
What is wrong?