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) {
|
if (match) {
|
||||||
return highlightSourceLines(match, ev);
|
return highlightSourceLines(match, ev);
|
||||||
}
|
}
|
||||||
handleHashes();
|
handleHashes(ev);
|
||||||
}
|
}
|
||||||
|
|
||||||
function expandSection(id) {
|
function expandSection(id) {
|
||||||
|
@ -2652,8 +2652,7 @@ function getSearchElement() {
|
||||||
insertAfter(popup, getSearchElement());
|
insertAfter(popup, getSearchElement());
|
||||||
}
|
}
|
||||||
|
|
||||||
handleHashes();
|
onHashChange();
|
||||||
highlightSourceLines();
|
|
||||||
window.onhashchange = onHashChange;
|
window.onhashchange = onHashChange;
|
||||||
|
|
||||||
buildHelperPopup();
|
buildHelperPopup();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue