Skip to content

When there are multiple controls on a page, rating-caption has the same value #68

@jiajie1212

Description

@jiajie1212

Terms of settlement,There are three areas that need to be revised:
1
.on('mouseenter', '[data-value]', function () {
....
$(this).siblings('.rating-caption').text(caption_list[index]);
}
2
.on('mouseleave', '[data-value]', function () {
....
if (val >= min && val <= max) {
...
$(this).siblings('.rating-caption').text(caption_list[index]);
} else {
_clearValue(self.closest('.rating-input'));
$(this).siblings('.rating-caption').text('');
}
}
3
.each(function () {
....
$(this).children(".rating-caption").text(caption_list[index]);
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions