about summary refs log tree commit diff
path: root/src/librustdoc/html/static/js/source-script.js
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-01-18 04:42:00 +0100
committerGitHub <noreply@github.com>2022-01-18 04:42:00 +0100
commitcc2339ce83b6874b213b2385fd7eb7cb6c674aa1 (patch)
treeb865e7319f1f935b5e84ac7bf5b76adf100b4fd0 /src/librustdoc/html/static/js/source-script.js
parent804072fdfc4db19b4f3deac52fe8318a52ce19b5 (diff)
parentb71f1fb0027cf49909d8597fcc90a77d5f573cc3 (diff)
downloadrust-cc2339ce83b6874b213b2385fd7eb7cb6c674aa1.tar.gz
rust-cc2339ce83b6874b213b2385fd7eb7cb6c674aa1.zip
Rollup merge of #92803 - jsha:hide-sidebar, r=GuillaumeGomez
Hide mobile sidebar on some clicks

When the user clicks outside the sidebar, the sidebar should close. Also, when the user clicks an internal link in the sidebar, it should close.

Fixes #92682

Demo: https://rustdoc.crud.net/jsha/hide-sidebar/std/string/struct.String.html
Diffstat (limited to 'src/librustdoc/html/static/js/source-script.js')
0 files changed, 0 insertions, 0 deletions