Pass evt to button handler

This commit is contained in:
bartbutenaers 2021-02-21 23:24:40 +01:00 committed by GitHub
parent 8b4aa3f5af
commit ae7a3981c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -110,7 +110,7 @@
.on("click", function(evt) {
evt.preventDefault();
if (button.click !== undefined) {
button.click();
button.click(evt);
}
});
});