mirror of https://github.com/node-red/node-red.git
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