htmx icon indicating copy to clipboard operation
htmx copied to clipboard

Default config object code comment mis-match

Open blister opened this issue 3 months ago • 0 comments

https://github.com/bigskysoftware/htmx/blob/81a6e25fb9cddc2846f27f494ab816fa32fc64c0/src/htmx.js#L239

Noticed that the default value for selfRequestsOnly is defined as true, yet the @default comment directly above it says that the default value is supposed to be false. I looked back at Git Blame to see if this was a recent change, or simply a mistaken comment that is out of date.

It should probably just say @default true in the comment, but didn't see this issue logged anywhere and didn't want to presume.

I'll open a PR and link it to this issue next.

blister avatar Sep 09 '25 23:09 blister