Skip to content

Commit 695f185

Browse files
Update src/librustdoc/html/static/js/main.js
Co-authored-by: Guillaume Gomez <[email protected]>
1 parent 3dc922d commit 695f185

File tree

1 file changed

+1
-1
lines changed
  • src/librustdoc/html/static/js

1 file changed

+1
-1
lines changed

src/librustdoc/html/static/js/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1710,7 +1710,7 @@ function preLoadCss(cssUrl) {
17101710
// @ts-expect-error
17111711
document.getElementById("main-content").appendChild(help_section);
17121712
} else {
1713-
onEachLazy(document.querySelectorAll(".help-menu"), menu => {
1713+
onEachLazy(document.getElementsByClassName("help-menu"), menu => {
17141714
if (menu.offsetWidth !== 0) {
17151715
menu.appendChild(container);
17161716
container.onblur = helpBlurHandler;

0 commit comments

Comments
 (0)