fixed issues with the random button and hotkeys

This commit is contained in:
eins
2026-01-23 14:07:52 +00:00
parent b72fcaa426
commit 6799ec1567
5 changed files with 85 additions and 76 deletions

View File

@@ -8,7 +8,7 @@
<a href="/tags">tags</a>
<a href="/about">about</a>
@if(!/^\/\d$/.test(url.pathname))
<a href="/random">rand</a>
<a href="/random" id="nav-random">rand</a>
@endif
</ol>
</div>
@@ -33,7 +33,7 @@
<a href="/tags">tags</a>
<a href="/about">about</a>
@if(!/^\/\d$/.test(url.pathname))
<a href="/random">rand</a>
<a href="/random" id="nav-random">rand</a>
@endif
</ol>
</div>