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

Commit b8a5b02

Browse files
Don't focus on notable trait parent when hiding it
1 parent 7c75fe4 commit b8a5b02

File tree

1 file changed

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

1 file changed

+0
-1
lines changed

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -910,7 +910,6 @@ function loadCss(cssUrl) {
910910
function hideNotable() {
911911
if (window.CURRENT_NOTABLE_ELEMENT) {
912912
if (window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE.NOTABLE_FORCE_VISIBLE) {
913-
window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE.focus();
914913
window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE.NOTABLE_FORCE_VISIBLE = false;
915914
}
916915
const body = document.getElementsByTagName("body")[0];

0 commit comments

Comments
 (0)