mirror of
https://github.com/bigskysoftware/htmx.git
synced 2025-09-30 14:31:47 +00:00
don't boost anchor tags with a target
attribute
addresses https://github.com/bigskysoftware/htmx/issues/593
This commit is contained in:
parent
1d62a92cd2
commit
ee2ed10cfa
@ -968,7 +968,7 @@ return (function () {
|
||||
}
|
||||
|
||||
function boostElement(elt, nodeData, triggerSpecs) {
|
||||
if ((elt.tagName === "A" && isLocalLink(elt)) || elt.tagName === "FORM") {
|
||||
if ((elt.tagName === "A" && isLocalLink(elt) && elt.target === "") || elt.tagName === "FORM") {
|
||||
nodeData.boosted = true;
|
||||
var verb, path;
|
||||
if (elt.tagName === "A") {
|
||||
|
Loading…
x
Reference in New Issue
Block a user