about summary refs log tree commit diff
path: root/src/librustdoc/html/static/js/source-script.js
diff options
context:
space:
mode:
authorJacob Hoffman-Andrews <github@hoffman-andrews.com>2022-01-05 22:20:26 -0500
committerJacob Hoffman-Andrews <github@hoffman-andrews.com>2022-01-14 18:20:15 -0800
commitc4b994ff80a993fb144d8ce2af6f2caf34b30347 (patch)
tree16bedc1662f5605c7d1b6d9da7004374d73d4717 /src/librustdoc/html/static/js/source-script.js
parentad46af24713115e7b9b258346e66b9b2d14eacfc (diff)
downloadrust-c4b994ff80a993fb144d8ce2af6f2caf34b30347.tar.gz
rust-c4b994ff80a993fb144d8ce2af6f2caf34b30347.zip
Pick themes on settings page, not every page
This hides the paintbrush icon on most pages by default, in preference
for the settings on the settings page.  When loading from a local file,
and not in mobile view, continue to show the theme picker. That's
because some browsers limit access to localStorage from file:/// URLs,
so choosing a theme from settings.html doesn't take effect.
Diffstat (limited to 'src/librustdoc/html/static/js/source-script.js')
0 files changed, 0 insertions, 0 deletions