diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2020-10-16 15:01:17 +0200 |
|---|---|---|
| committer | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2020-10-16 15:01:17 +0200 |
| commit | a577942a8f398a516a1156be8e3e672cd28edf3d (patch) | |
| tree | b397d059286c7478648c69d0a828880e67f76b15 | |
| parent | 0e022fc2b8eecbc16c090a99efbbd262c37ec962 (diff) | |
Fix sidebar scroll on mobile devices
| -rw-r--r-- | src/librustdoc/html/static/main.js | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/librustdoc/html/static/main.js b/src/librustdoc/html/static/main.js index 1b3eb2011af..67e50bba1f2 100644 --- a/src/librustdoc/html/static/main.js +++ b/src/librustdoc/html/static/main.js @@ -2716,10 +2716,6 @@ function defocusSearchBar() { }; } - window.onresize = function() { - hideSidebar(); - }; - if (main) { onEachLazy(main.getElementsByClassName("loading-content"), function(e) { e.remove(); |
