The jrating module uses an ID for wrapping the numeric vote value on the page. It uses this for updating.

Some pages may wish to show the number of votes in more that one location on the same page. If so, using the id to wrap the number you both break compliance and the jquery code will only update the first one.

The attached patch changes the code to use a class instead of a id.

CommentFileSizeAuthor
jrating_vote_class.patch1.81 KBneclimdul

Comments

hickory’s picture

Status: Needs review » Fixed

Committed, thanks.

Anonymous’s picture

Status: Fixed » Closed (fixed)