preserve line-selection hash fragment in URL when navigating to a search result
This commit is contained in:
parent
3c8631c0d7
commit
437e1f60e5
@ -95,7 +95,6 @@ function onLoad() {
|
|||||||
document.location.hash.substr(0, 6) === '#line-'
|
document.location.hash.substr(0, 6) === '#line-'
|
||||||
) {
|
) {
|
||||||
highlightLine( parseInt(document.location.hash.substr(6), 10) );
|
highlightLine( parseInt(document.location.hash.substr(6), 10) );
|
||||||
document.location.hash = '';
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
|
Loading…
Reference in New Issue
Block a user