From 437e1f60e561aa1bbca64bbc81009c3126e0931e Mon Sep 17 00:00:00 2001 From: mappu Date: Sun, 10 Dec 2017 13:57:32 +1300 Subject: [PATCH] preserve line-selection hash fragment in URL when navigating to a search result --- static/archive.js | 1 - 1 file changed, 1 deletion(-) diff --git a/static/archive.js b/static/archive.js index 91accd3..5c5e9b0 100755 --- a/static/archive.js +++ b/static/archive.js @@ -95,7 +95,6 @@ function onLoad() { document.location.hash.substr(0, 6) === '#line-' ) { highlightLine( parseInt(document.location.hash.substr(6), 10) ); - document.location.hash = ''; } //