Skip to content

Commit e4ecc55

Browse files
Typo in addEventListener - use evt instead of event (#3188)
Use evt instead of event Co-authored-by: Jacob monticello <Jacob Monticello>
1 parent 11a8e9c commit e4ecc55

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/htmx.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2484,7 +2484,7 @@ var htmx = (function() {
24842484
}
24852485
}
24862486
if (triggerSpec.changed) {
2487-
const node = event.target
2487+
const node = evt.target
24882488
// @ts-ignore value will be undefined for non-input elements, which is fine
24892489
const value = node.value
24902490
const lastValue = elementData.lastValue.get(triggerSpec)

0 commit comments

Comments
 (0)