We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1727c7a commit 86e42c2Copy full SHA for 86e42c2
src/librustdoc/html/static/main.js
@@ -344,6 +344,7 @@ function defocusSearchBar() {
344
}
345
346
function getHelpElement() {
347
+ buildHelperPopup();
348
return document.getElementById("help");
349
350
@@ -2818,12 +2819,12 @@ function defocusSearchBar() {
2818
2819
2820
popup.appendChild(container);
2821
insertAfter(popup, getSearchElement());
2822
+ // So that it's only built once and then it'll do nothing when called!
2823
+ buildHelperPopup = function() {};
2824
2825
2826
onHashChange(null);
2827
window.onhashchange = onHashChange;
-
- buildHelperPopup();
2828
}());
2829
2830
// This is required in firefox. Explanations: when going back in the history, firefox doesn't re-run
0 commit comments