summaryrefslogtreecommitdiffstatshomepage
path: root/src/ext/path-deps.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/ext/path-deps.js')
-rw-r--r--src/ext/path-deps.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ext/path-deps.js b/src/ext/path-deps.js
index 6c7bf4b4..4a7b881f 100644
--- a/src/ext/path-deps.js
+++ b/src/ext/path-deps.js
@@ -17,7 +17,7 @@
htmx.defineExtension('path-deps', {
onEvent: function (name, evt) {
- if (name === "afterRequest.htmx") {
+ if (name === "htmx:afterRequest") {
var xhr = evt.detail.xhr;
// mutating call
if (xhr.method !== "GET") {