Skip to content

Commit

Permalink
Fix from the fix
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidCraftDev committed Jun 10, 2024
1 parent bb4223f commit c322f59
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions rootfs/app/fancyindex/footer.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
</div>
<p id="notice">Powered by <a href="https://github.com/ZoeyVid/NPMplus">NPMplus</p>
<p id="notice">Powered by <a href="https://github.com/ZoeyVid/NPMplus">NPMplus</a></p>
<script>;
var input = document.createElement("input");
input.id = "search";
Expand All @@ -26,10 +26,9 @@

var headers = document.querySelectorAll('th');
headers.forEach(header => {
console.log(header)
var links = header.querySelectorAll('a');
var ascendingLink = document.createElement("a");
ascendingLink.textContent = "";
ascendingLink.textContent = "&nbsp;↑&nbsp;";
ascendingLink.href = links[0].href;
links[0].removeAttribute("href");
links[1].after(ascendingLink);
Expand Down

0 comments on commit c322f59

Please sign in to comment.