diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2020-07-26 18:49:38 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-26 18:49:38 -0400 |
commit | 0512258c8e77f4ee63a7f7d100e8bb7c898fc343 (patch) | |
tree | f666efb91f7df66db06248185a54b59925fd4b7c /ext/bg | |
parent | 104650627d0dea207b5803f89d648a4363d6af8d (diff) |
Display scroll refactor (#694)
* Cache navigation header
* Create _focusEntry
* Update scroll restoration
* Require explicit entry focus index
Diffstat (limited to 'ext/bg')
-rw-r--r-- | ext/bg/js/search.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/bg/js/search.js b/ext/bg/js/search.js index c5051fa9..49a93e47 100644 --- a/ext/bg/js/search.js +++ b/ext/bg/js/search.js @@ -250,6 +250,7 @@ class DisplaySearch extends Display { query }, state: { + focusEntry: 0, sentence: {text: query, offset: 0}, url: window.location.href }, |