mirror of
https://github.com/bigskysoftware/htmx.git
synced 2025-09-26 20:40:41 +00:00
fix type in sse event (#1463)
This commit is contained in:
parent
ec90998e77
commit
19f8ee9b20
1
.gitignore
vendored
1
.gitignore
vendored
@ -4,3 +4,4 @@
|
||||
_site
|
||||
test/scratch/scratch.html
|
||||
.DS_Store
|
||||
.vscode
|
||||
|
@ -157,7 +157,7 @@ This extension adds support for Server Sent Events to htmx. See /www/extensions
|
||||
};
|
||||
|
||||
source.onopen = function (evt) {
|
||||
api.triggerEvent(elt, "htmx::sseOpen", {source: source});
|
||||
api.triggerEvent(elt, "htmx:sseOpen", {source: source});
|
||||
}
|
||||
|
||||
// Add message handlers for every `sse-swap` attribute
|
||||
|
Loading…
x
Reference in New Issue
Block a user