fixed actaddmanual support

This commit is contained in:
Ell 2021-11-08 18:38:15 +01:00
parent d3b0e656f6
commit 97422a663d
2 changed files with 11 additions and 15 deletions

View file

@ -30,14 +30,17 @@
<body>
<div id="sidebar">
<!-- Sponsor buttons -->
<div class="sellout">
<iframe src="https://github.com/sponsors/Ellpeck/button" title="Sponsor Ellpeck" height="32" width="116" style="border: 0;"></iframe>
<a href="https://www.patreon.com/bePatron?u=2494595" class="patreon-button" style="padding: 5px;">
<img src="../res/becomePatron.png" width="auto" height="34px" alt="Become a patron">
</a>
</div>
<!-- Donation buttons -->
<a href="https://github.com/sponsors/Ellpeck">Sponsor on GitHub</a>
<a href="https://patreon.com/Ellpeck">Become a Patron</a>
<a href="https://ko-fi.com/ellpeck">Buy me a Coffee</a>
<hr>
<div id="sidebar-content"></div>
<hr>
<a href="https://ellpeck.de">Main Site</a>
<a href="https://ellpeck.de/impressum">Impressum</a>
<a href="https://ellpeck.de/privacy">Privacy</a>
<a href="https://git.ellpeck.de/Ellpeck/Web">&copy; Ellpeck</a>
</div>
<div id="content">
<div id="entries">

View file

@ -26,7 +26,7 @@ function populateManual(lang) {
let data = lang.substring(startIndex + 18);
let entries = $("#entries");
let sidebar = $("#sidebar");
let sidebar = $("#sidebar-content");
for (let topic of data.split("\n\n")) {
let lines = topic.split("\n");
@ -46,13 +46,6 @@ function populateManual(lang) {
entries.append(t);
}
sidebar.append("<hr>");
sidebar.append(`<a href="https://ellpeck.de">Main Site</a>`);
sidebar.append(`<a href="https://ellpeck.de/impressum">Impressum</a>`);
sidebar.append(`<a href="https://ellpeck.de/privacy">Privacy</a>`);
sidebar.append(`<a href="https://git.ellpeck.de/Ellpeck/Web">&copy; Ellpeck</a>`);
sidebar.append("<hr>");
forceToAnchor();
}