mirror of
https://github.com/bigskysoftware/htmx.git
synced 2025-09-30 14:31:47 +00:00
boost anchors w/a _self
target
fixes https://github.com/bigskysoftware/htmx/issues/817
This commit is contained in:
parent
8290da624b
commit
3f4b7bfb93
@ -1207,7 +1207,7 @@ return (function () {
|
||||
}
|
||||
|
||||
function boostElement(elt, nodeData, triggerSpecs) {
|
||||
if ((elt.tagName === "A" && isLocalLink(elt) && elt.target === "") || elt.tagName === "FORM") {
|
||||
if ((elt.tagName === "A" && isLocalLink(elt) && (elt.target === "" || elt.target === "_self")) || elt.tagName === "FORM") {
|
||||
nodeData.boosted = true;
|
||||
var verb, path;
|
||||
if (elt.tagName === "A") {
|
||||
|
Loading…
x
Reference in New Issue
Block a user