Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions lib/jquery.raty.js
Original file line number Diff line number Diff line change
Expand Up @@ -481,6 +481,8 @@
},

_roundStars: function(score, evt) {
if(Number.isInteger(score))
score += 0.0001;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Expected '{' and instead saw 'score'.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Resolve it

var
decimal = (score % 1).toFixed(2),
name ;
Expand Down