Rollup merge of #67336 - GuillaumeGomez:fix-js-error, r=Dylan-DPC
Fix JS error when loading page with search For example when you load this page: https://doc.rust-lang.org/nightly/std/num/struct.NonZeroI8.html?search=foo, you get a nice JS error: ``` TypeError: ev is undefined ``` r? @kinnison
This commit is contained in:
commit
55753a62cc
@ -2683,7 +2683,7 @@ function getSearchElement() {
|
||||
insertAfter(popup, getSearchElement());
|
||||
}
|
||||
|
||||
onHashChange();
|
||||
onHashChange(null);
|
||||
window.onhashchange = onHashChange;
|
||||
|
||||
buildHelperPopup();
|
||||
|
Loading…
Reference in New Issue
Block a user