We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 994c705 commit 3bc4dacCopy full SHA for 3bc4dac
src/htmx.js
@@ -4671,8 +4671,8 @@ var htmx = (function() {
4671
const requestPath = responseInfo.pathInfo.finalRequestPath
4672
const responsePath = responseInfo.pathInfo.responsePath
4673
4674
- const pushUrl = getClosestAttributeValue(elt, 'hx-push-url') || responseInfo.etc.push
4675
- const replaceUrl = getClosestAttributeValue(elt, 'hx-replace-url') || responseInfo.etc.replace
+ const pushUrl = responseInfo.etc.push || getClosestAttributeValue(elt, 'hx-push-url')
+ const replaceUrl = responseInfo.etc.replace || getClosestAttributeValue(elt, 'hx-replace-url')
4676
const elementIsBoosted = getInternalData(elt).boosted
4677
4678
let saveType = null
0 commit comments