Skip to content

Commit a577942

Browse files
Fix sidebar scroll on mobile devices
1 parent 0e022fc commit a577942

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/librustdoc/html/static/main.js

-4
Original file line numberDiff line numberDiff line change
@@ -2716,10 +2716,6 @@ function defocusSearchBar() {
27162716
};
27172717
}
27182718

2719-
window.onresize = function() {
2720-
hideSidebar();
2721-
};
2722-
27232719
if (main) {
27242720
onEachLazy(main.getElementsByClassName("loading-content"), function(e) {
27252721
e.remove();

0 commit comments

Comments
 (0)