fiatjaf / njump

mirror of https://git.njump.me/njump
MIT License
108 stars 24 forks source link

Some Random Content not working. #50

Closed seanmurphy1661 closed 9 months ago

seanmurphy1661 commented 9 months ago

some random content link is not working due to malformed href on the index page.

View page source reveals:

<a class="underline" href="[/random](view-source:https://njump.me/random)" _="on click halt the event then fetch /random with method:&#39;POST&#39; then tell &lt;input[name=&#39;code&#39;] /&gt; set @value to result">some random content</a>

obvi not a big deal, but i rarely find bugs...

dtonon commented 9 months ago

For me it works fine. When you click on the link, doesn't a new entity appear in the input? If not, tell me the browser+version you are using, please.

The code seems malformed, but actually it is a correct Hyperscipt syntax/encoding.

Screenshot 2024-02-25 alle 23 15 18
seanmurphy1661 commented 9 months ago

Nothing happens. Open in new tab works.

image

seanmurphy1661 commented 9 months ago

ok, yes, something does appear in the box. i get it now. i was expecting the link to also nav to the profile