Skip to content

Commit

Permalink
docs: fix broken version selector (#13102)
Browse files Browse the repository at this point in the history
Signed-off-by: Harold Cheng <[email protected]>
  • Loading branch information
cjc7373 authored Apr 4, 2023
1 parent 9d56d4f commit 6c8f911
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions docs/assets/versions.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,6 @@ setTimeout(function() {
caret.innerHTML = "<i class='fa fa-caret-down dropdown-caret'></i>"
caret.classList.add('dropdown-caret')
div.querySelector('.rst-current-version').appendChild(caret);
div.querySelector('.rst-current-version').addEventListener('click', function() {
const classes = container.className.split(' ');
const index = classes.indexOf('shift-up');
if (index === -1) {
classes.push('shift-up');
} else {
classes.splice(index, 1);
}
container.className = classes.join(' ');
});
}

var CSSLink = document.createElement('link');
Expand Down

0 comments on commit 6c8f911

Please sign in to comment.