Skip to content

Commit

Permalink
Fixed a bug in the online demo page
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesMessinger committed Jul 22, 2020
1 parent 590e7ae commit 0001597
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion online/src/js/dropdowns.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ function dropdowns () {
trackCheckbox(form.validate.spec);

// Change the button text whenever a new method is selected
form.method.menu.find("a").on("click", (event) => {
form.method.menu.find("a").on("click", function (event) {
form.method.menu.dropdown("toggle");
event.stopPropagation();
let methodName = $(this).data("value");
Expand Down

0 comments on commit 0001597

Please sign in to comment.