Only call onHashChange instead of both functions
This commit is contained in:
parent
24e093c5c3
commit
d4527b7e00
1 changed files with 2 additions and 3 deletions
|
@ -265,7 +265,7 @@ function getSearchElement() {
|
|||
if (match) {
|
||||
return highlightSourceLines(match, ev);
|
||||
}
|
||||
handleHashes();
|
||||
handleHashes(ev);
|
||||
}
|
||||
|
||||
function expandSection(id) {
|
||||
|
@ -2652,8 +2652,7 @@ function getSearchElement() {
|
|||
insertAfter(popup, getSearchElement());
|
||||
}
|
||||
|
||||
handleHashes();
|
||||
highlightSourceLines();
|
||||
onHashChange();
|
||||
window.onhashchange = onHashChange;
|
||||
|
||||
buildHelperPopup();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue