We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 46dfc4c commit 16c69ddCopy full SHA for 16c69dd
scripts/versionList.js
@@ -24,7 +24,7 @@ function createDropdown(here) {
24
function versionDropdown() {
25
const here = window.location.href;
26
const dochome = "https://" + here.split('/').slice(2, 5).join('/');
27
- const navTitles = document.getElementsByClassName("nav-item-0");
+ const navTitles = document.querySelectorAll(".brand,.sidebar-brand-text");
28
createDropdown(here).then(dropdown => {
29
for (let item of navTitles) {
30
let newTitle = document.createElement("div");
0 commit comments