Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
fix when clicking version dropdown it jumps to top of the page
Browse files Browse the repository at this point in the history
  • Loading branch information
ys2843 committed May 4, 2020
1 parent aeef33a commit c573080
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/static_site/src/assets/js/options.js
Original file line number Diff line number Diff line change
Expand Up @@ -149,4 +149,8 @@ $(document).ready(function () {
.mouseenter(toggleDropdown.bind(null, true))
.mouseleave(toggleDropdown.bind(null, false))
.click(function() {$(".version-dropdown").toggle()});

$("ul.version-dropdown").click(function(e) {
e.preventDefault();
});
});

0 comments on commit c573080

Please sign in to comment.