preserve line-selection hash fragment in URL when navigating to a search result

This commit is contained in:
mappu 2017-12-10 13:57:32 +13:00
parent 3c8631c0d7
commit 437e1f60e5

View File

@ -95,7 +95,6 @@ function onLoad() {
document.location.hash.substr(0, 6) === '#line-'
) {
highlightLine( parseInt(document.location.hash.substr(6), 10) );
document.location.hash = '';
}
//