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:
parent
8b4aa3f5af
commit
ae7a3981c0
@ -110,7 +110,7 @@
|
|||||||
.on("click", function(evt) {
|
.on("click", function(evt) {
|
||||||
evt.preventDefault();
|
evt.preventDefault();
|
||||||
if (button.click !== undefined) {
|
if (button.click !== undefined) {
|
||||||
button.click();
|
button.click(evt);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user