about summary refs log tree commit diff
path: root/src/librustdoc/html/static/js/storage.js
diff options
context:
space:
mode:
authorMichael Howell <michael@notriddle.com>2023-07-14 16:38:01 -0700
committerMichael Howell <michael@notriddle.com>2023-07-14 16:38:01 -0700
commit34bc8fbea3b72ce1f9254dbed85fddb2d7985f75 (patch)
tree5a4da5d81e5837c080faf50b82f81d22d5d4d9bc /src/librustdoc/html/static/js/storage.js
parentad963232d9b987d66a6f8e6ec4141f672b8b9900 (diff)
downloadrust-34bc8fbea3b72ce1f9254dbed85fddb2d7985f75.tar.gz
rust-34bc8fbea3b72ce1f9254dbed85fddb2d7985f75.zip
rustdoc: use `src` consistently over `source` in code
The CSS uses an inconsistent mix of both. This commit switches
it to always use `src`.
Diffstat (limited to 'src/librustdoc/html/static/js/storage.js')
-rw-r--r--src/librustdoc/html/static/js/storage.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustdoc/html/static/js/storage.js b/src/librustdoc/html/static/js/storage.js
index 71961f6f2a9..af3ca42a6c0 100644
--- a/src/librustdoc/html/static/js/storage.js
+++ b/src/librustdoc/html/static/js/storage.js
@@ -185,7 +185,7 @@ updateTheme();
 if (getSettingValue("source-sidebar-show") === "true") {
     // At this point in page load, `document.body` is not available yet.
     // Set a class on the `<html>` element instead.
-    addClass(document.documentElement, "source-sidebar-expanded");
+    addClass(document.documentElement, "src-sidebar-expanded");
 }
 
 // If we navigate away (for example to a settings page), and then use the back or