Skip to content

Commit

Permalink
Fix sidebar scroll on mobile devices
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeGomez committed Oct 16, 2020
1 parent 0e022fc commit a577942
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/librustdoc/html/static/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -2716,10 +2716,6 @@ function defocusSearchBar() {
};
}

window.onresize = function() {
hideSidebar();
};

if (main) {
onEachLazy(main.getElementsByClassName("loading-content"), function(e) {
e.remove();
Expand Down

0 comments on commit a577942

Please sign in to comment.