You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With Turbolinks and Jquery it seems that when a cached page is loaded the rate function can duplicate stars. I could not find a way to remove stars from an element with the library but my solution was to return early.
With Turbolinks and Jquery it seems that when a cached page is loaded the rate function can duplicate stars. I could not find a way to remove stars from an element with the library but my solution was to return early.
Another option would to be allow undo of .raty() so that before the page is cached we can remove the stars from the elements.
Curious to hear your thoughts on this.
The text was updated successfully, but these errors were encountered: