mirror of
https://github.com/bigskysoftware/htmx.git
synced 2025-10-02 23:35:13 +00:00
small improvement
This commit is contained in:
parent
7e7a5b4361
commit
de78dc0070
@ -2885,6 +2885,7 @@ return (function () {
|
||||
//===========================================
|
||||
// Next resolve via DOM values
|
||||
//===========================================
|
||||
var requestPath = responseInfo.pathInfo.finalRequestPath;
|
||||
var responsePath = responseInfo.pathInfo.responsePath;
|
||||
|
||||
var pushUrl = getClosestAttributeValue(elt, "hx-push-url");
|
||||
@ -2902,7 +2903,7 @@ return (function () {
|
||||
path = replaceUrl;
|
||||
} else if (elementIsBoosted) {
|
||||
saveType = "push";
|
||||
path = responsePath;
|
||||
path = responsePath || requestPath; // if there is no response path, go with the original request path
|
||||
}
|
||||
|
||||
if (path) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user