Skip to content

Commit

Permalink
Fix JavaScript
Browse files Browse the repository at this point in the history
  • Loading branch information
ashbythorpe committed Nov 25, 2023
1 parent a0cd175 commit 2bc85ca
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions vignettes/articles/test_site.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ $(function () {
$("#multiple-selection-output").text(
$(this)
.val()
.map(Number)
.reduce((x, y) => x + y, 0),
);
});
Expand Down

0 comments on commit 2bc85ca

Please sign in to comment.