Skip to content

Commit

Permalink
Fixed issue #11752: mandatory radio star show 4 stars only
Browse files Browse the repository at this point in the history
  • Loading branch information
lacrioque committed Oct 12, 2016
1 parent a919ee7 commit 3bb2c26
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/star-rating.js
Expand Up @@ -45,6 +45,8 @@ function doRatingStar(qID) {
if(itemNoAnswer){
starsHtmlElement
.append("<div class='star-rating star-cancel' data-star='"+(numberOfPossibleAnswers)+"' title='"+$('#question'+qID+' .noanswer-item label').html()+"'><i class='fa fa-ban'></i></div>");
} else {
numberOfPossibleAnswers++;
}

//Add stars to the container
Expand Down

0 comments on commit 3bb2c26

Please sign in to comment.