Skip to content

Commit

Permalink
Fix issue with Commonwealth UI JS using size instead of length Ar…
Browse files Browse the repository at this point in the history
…ray property
  • Loading branch information
moseshll committed Apr 11, 2024
1 parent ff7b9bc commit 68b18b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cgi/partial/ADDForm.tt
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ function toggleADD() {
addField.value = actualField.value;
}
} else {
if (gReviewData.bibdata.extracted_dates.size != 1) {
if (gReviewData.bibdata.extracted_dates.length != 1) {
actualPubDateRow.style.display = "table-row";
}
}
Expand Down

0 comments on commit 68b18b0

Please sign in to comment.