favorites button problem with webflow pagination

Hi there,

I have favorite buttons on a webtv that works in javascript. there are about 300 videos, I created a filter page that allows me to search for the desired video. My problem is that the favorite buttons doesn’t work with pagination, it works on the first page but every time I go to the next page my buttons are no longer taken into account. could someone help me?