Skip to content

Commit

Permalink
Fix JS error when loading page with search
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeGomez committed Dec 15, 2019
1 parent 7dbfb0a commit 5f68732
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustdoc/html/static/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -2683,7 +2683,7 @@ function getSearchElement() {
insertAfter(popup, getSearchElement());
}

onHashChange();
onHashChange(null);
window.onhashchange = onHashChange;

buildHelperPopup();
Expand Down

0 comments on commit 5f68732

Please sign in to comment.