From 0512258c8e77f4ee63a7f7d100e8bb7c898fc343 Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Sun, 26 Jul 2020 18:49:38 -0400 Subject: Display scroll refactor (#694) * Cache navigation header * Create _focusEntry * Update scroll restoration * Require explicit entry focus index --- ext/fg/js/frontend.js | 1 + 1 file changed, 1 insertion(+) (limited to 'ext/fg/js') 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 }, -- cgit v1.2.3