Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Decrease rank not visible but rank changed #52

Closed
mix1981 opened this issue Nov 9, 2020 · 1 comment
Closed

Decrease rank not visible but rank changed #52

mix1981 opened this issue Nov 9, 2020 · 1 comment

Comments

@mix1981
Copy link

mix1981 commented Nov 9, 2020

Hi,
at the beginning - wonderfull library.
I've found just one problem. If I set disableAfterRate: false - I can change rating every time I click on a star - and this is GOOD. But if at second click I want to change rating to lower - f.e. from 4 stars to 3, rank is changed, but 4 stars still shows as active - and this is NOT GOOD.
$ ('. my-rating'). starRating ('getRating') shows 3, but 4 stars still shows "red". Is there any 'hook' to overcome this?

@mix1981
Copy link
Author

mix1981 commented Nov 10, 2020

Bug fixed with code posten here: #51 (comment)
The same issue.

@mix1981 mix1981 closed this as completed Nov 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant