raty icon indicating copy to clipboard operation
raty copied to clipboard

Stars duplicate when using browser's navigation (Back arrow in Chrome)

Open jedrekdomanski opened this issue 8 years ago • 2 comments

I have a page with a list of ratings of movies and a page where I give a comment to a movie. When I go back to this page from movie's comment form using Back arrow in Chrome navigation then the stars get duplicated so instead of default 5 stars I have 10. Is there a way to fix this?

jedrekdomanski avatar Feb 28 '17 14:02 jedrekdomanski

I also ran into this problem. I solved it by re initializing raty with an empty object in the onload block before your actual initialization

aryehbeitz avatar Sep 18 '17 08:09 aryehbeitz

I also facing the same problem. But in my case this is not working in pagination. It works correctly for first page and when it comes second page the stars get duplicated. How to fix this?

HemanthkumarHJ avatar Jan 17 '18 07:01 HemanthkumarHJ