gentle-notebook-11755
02/13/2022, 8:33 PMstocky-dentist-80693
02/13/2022, 8:47 PMtarget="_self" attribute... is that it?gentle-notebook-11755
02/13/2022, 8:53 PMstocky-dentist-80693
02/13/2022, 8:54 PMgentle-notebook-11755
02/13/2022, 8:54 PMgentle-notebook-11755
02/13/2022, 8:59 PMstocky-dentist-80693
02/13/2022, 8:59 PMfunction boostElement(elt, nodeData, triggerSpecs) {
if ((elt.tagName === "A" && isLocalLink(elt) && elt.target === "") || elt.tagName === "FORM") {
πstocky-dentist-80693
02/13/2022, 8:59 PMgentle-notebook-11755
02/13/2022, 9:00 PMstocky-dentist-80693
02/13/2022, 9:00 PM_self is the default context anyway, so is essentially the same as being empty, but htmx requires it to actually be empty.stocky-dentist-80693
02/13/2022, 9:00 PMgentle-notebook-11755
02/13/2022, 9:01 PMgentle-notebook-11755
02/13/2022, 9:01 PMstocky-dentist-80693
02/13/2022, 9:01 PMgentle-notebook-11755
02/13/2022, 9:02 PMstocky-dentist-80693
02/13/2022, 9:02 PMfunction boostElement(elt, nodeData, triggerSpecs) {
if ((elt.tagName === "A" && isLocalLink(elt)) || elt.tagName === "FORM") {
^ 1.6.0stocky-dentist-80693
02/13/2022, 9:02 PMstocky-dentist-80693
02/13/2022, 9:04 PMtarget="_top" (new window/tab) - you don't want it boosted, and it probably can't be boosted (?).stocky-dentist-80693
02/13/2022, 9:05 PMstocky-dentist-80693
02/13/2022, 9:06 PMstocky-dentist-80693
02/13/2022, 9:06 PMgentle-notebook-11755
02/13/2022, 9:10 PMstocky-dentist-80693
02/13/2022, 9:16 PMgentle-notebook-11755
02/13/2022, 9:18 PMicy-motherboard-95213
02/13/2022, 11:13 PMhx-target="#root" to work.mysterious-toddler-20573
02/13/2022, 11:13 PMicy-motherboard-95213
02/13/2022, 11:15 PMpowerful-evening-99811
02/14/2022, 12:31 AMmysterious-toddler-20573
02/14/2022, 12:37 AM