Skip to content

Commit 5f68732

Browse files
Fix JS error when loading page with search
1 parent 7dbfb0a commit 5f68732

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustdoc/html/static/main.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -2683,7 +2683,7 @@ function getSearchElement() {
26832683
insertAfter(popup, getSearchElement());
26842684
}
26852685

2686-
onHashChange();
2686+
onHashChange(null);
26872687
window.onhashchange = onHashChange;
26882688

26892689
buildHelperPopup();

0 commit comments

Comments
 (0)