Update path-deps.js

This commit is contained in:
Johan Vosloo 2020-12-26 23:20:34 +01:00 committed by GitHub
parent d105d7bce7
commit a8b7f0171b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -35,7 +35,7 @@
}
} else if (name === "htmx:refreshPath") {
refreshPath(evt.path);
} else if (name === "htmx:refreshElement") {
} else if (name === "htmx:refresh") {
var elt = evt.detail.elt;
htmx.trigger(elt, "path-deps");
}