aboutsummaryrefslogtreecommitdiff
path: root/ext/fg/js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-07-26 18:49:38 -0400
committerGitHub <noreply@github.com>2020-07-26 18:49:38 -0400
commit0512258c8e77f4ee63a7f7d100e8bb7c898fc343 (patch)
treef666efb91f7df66db06248185a54b59925fd4b7c /ext/fg/js
parent104650627d0dea207b5803f89d648a4363d6af8d (diff)
Display scroll refactor (#694)
* Cache navigation header * Create _focusEntry * Update scroll restoration * Require explicit entry focus index
Diffstat (limited to 'ext/fg/js')
-rw-r--r--ext/fg/js/frontend.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/fg/js/frontend.js b/ext/fg/js/frontend.js
index 09928cd4..7bc104a7 100644
--- a/ext/fg/js/frontend.js
+++ b/ext/fg/js/frontend.js
@@ -435,6 +435,7 @@ class Frontend {
wildcards: 'off'
},
state: {
+ focusEntry: 0,
sentence,
url
},