We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 27a046e commit 2d3f31dCopy full SHA for 2d3f31d
src/librustdoc/html/static/storage.js
@@ -30,7 +30,7 @@ function getCurrentValue(name) {
30
31
function switchTheme(styleElem, mainStyleElem, newTheme) {
32
styleElem.href = mainStyleElem.href.replace("rustdoc.css", newTheme + ".css");
33
- updateLocalStorage('theme', newTheme);
+ updateLocalStorage('rustdoc-theme', newTheme);
34
}
35
36
switchTheme(currentTheme, mainTheme, getCurrentValue('theme') || 'main');
0 commit comments