Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 8a34129

Browse files
committed
main.js: make hideAllModals docs clearer
"true" looks like a string value, `true` makes it more clear that we are talking about the actual boolean value.
1 parent a805f52 commit 8a34129

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
@@ -1593,7 +1593,7 @@ function preLoadCss(cssUrl) {
15931593
/**
15941594
* Hide popover menus, clickable tooltips, and the sidebar (if applicable).
15951595
*
1596-
* Pass "true" to reset focus for tooltip popovers.
1596+
* Pass `true` to reset focus for tooltip popovers.
15971597
*/
15981598
window.hideAllModals = switchFocus => {
15991599
hideSidebar();

0 commit comments

Comments
 (0)