Skip to content

Commit 4529b80

Browse files
authored
Move version selector to the bottom of the sidebar (#4)
1 parent 21471d5 commit 4529b80

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

version-selector.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ document.addEventListener("DOMContentLoaded", function () {
4444

4545
// Insert at the top of the sidebar
4646
const sidebar = document.querySelector("div.sidebar-scroll");
47-
sidebar.insertBefore(container, sidebar.children[0]);
47+
sidebar.appendChild(container, sidebar.children[0]);
4848
})
4949
.catch(error => {
5050
console.error("Version selector error:", error);

0 commit comments

Comments
 (0)