Skip to content

Commit

Permalink
docs: copy argo cd docs drop down fix (#2731)
Browse files Browse the repository at this point in the history
copy argo rollouts drop down fix for docs

Signed-off-by: zachaller <[email protected]>
  • Loading branch information
zachaller committed May 4, 2023
1 parent 402c365 commit 0b3686f
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 0b3686f

Please sign in to comment.