1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

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

View File

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