Thread Starter
Robert
(@rob_e_rob)
I figured it out.
I revised the select.js file to find the data attribute of the selected ‘remove button’ and toggle the ‘save’ class of the button with the heart which then updates the button without requiring a page reload.
Great plugin!
Thread Starter
Robert
(@rob_e_rob)
A quick update. When I inspect the element to each href after I click the favorite button the class “save” is added to each button. When I unfavorite the button the “save” class continues to show when I reload the page.