Skip to content

Commit 15dbac5

Browse files
committed
Update barrating on changing showValues property
1 parent 92a216d commit 15dbac5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/jquery-bar-rating.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ function init(Survey, $) {
111111
sender,
112112
options
113113
) {
114-
if (options.name == "ratingTheme") {
114+
if (options.name === "ratingTheme" || options.name === "showValues") {
115115
$customSelect.barrating("destroy");
116116
renderBarrating();
117117
}

0 commit comments

Comments
 (0)