Skip to content

Commit

Permalink
bugfix: green checkelement part for missing sections
Browse files Browse the repository at this point in the history
  • Loading branch information
aborel committed Oct 13, 2023
1 parent fd99d2d commit 783eddc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions zenodo_greasemonkey.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -458,6 +458,7 @@ function addCheckElement(selector, checkCode, position, normal) {

myHtml.append(`<label class="btn btn-danger" id="bad" name="${checklistData[checkCode].category}">${buttonValues[status][0]}</label>`);
myHtml.append(`<label class="btn btn-light" id="undecided" name="${checklistData[checkCode].category}">${buttonValues[status][1]}</label>`);
myHtml.append(`<label class="btn btn-success" id="ok" name="${checklistData[checkCode].category}">${buttonValues[status][2]}</label>`);

//checkElement = $(`<${checklistData[checkCode].altwrapper}>${checklistData[checkCode].altshort}${myHtml}</${checklistData[checkCode].wrapper}>`);
checkElement = $(`<${checklistData[checkCode].altwrapper}>`);
Expand Down

0 comments on commit 783eddc

Please sign in to comment.