mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00: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…
x
Reference in New Issue
Block a user