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 9b62407 commit 20c3627Copy full SHA for 20c3627
src/librustdoc/html/static/main.js
@@ -1281,7 +1281,7 @@ function hideThemeButtonState() {
1281
if (currentType) {
1282
currentType = currentType.getElementsByClassName("rust")[0];
1283
1284
- currentType.classList.forEach(function(item) {
+ onEachLazy(currentType.classList, function(item) {
1285
if (item !== "main") {
1286
className = item;
1287
return true;
0 commit comments