summaryrefslogtreecommitdiff
path: root/animism-align/frontend/app/views/viewer/viewer.reducer.js
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2020-10-20 22:27:19 +0200
committerJules Laplace <julescarbon@gmail.com>2020-10-20 22:27:19 +0200
commit6b36bb44d5933eed584e1657d402bc1fa07ff611 (patch)
tree55d47f2c999e0defd06225838397108a56ccab47 /animism-align/frontend/app/views/viewer/viewer.reducer.js
parent9dbcd019007317bce9161a067f702edc9ca3d970 (diff)
caching scroll positions
Diffstat (limited to 'animism-align/frontend/app/views/viewer/viewer.reducer.js')
-rw-r--r--animism-align/frontend/app/views/viewer/viewer.reducer.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/animism-align/frontend/app/views/viewer/viewer.reducer.js b/animism-align/frontend/app/views/viewer/viewer.reducer.js
index 29868aa..20911d6 100644
--- a/animism-align/frontend/app/views/viewer/viewer.reducer.js
+++ b/animism-align/frontend/app/views/viewer/viewer.reducer.js
@@ -18,12 +18,15 @@ const initialState = {
/* section look and navigation */
sections: { loading: true },
- footnoteList: [],
currentSection: null,
nextSection: null,
autoAdvance: false,
atEndOfSection: false,
+ /* footnotes */
+ footnoteList: [],
+ currentFootnote: -1,
+
/* color of the bar / logo / icons */
navStyle: 'white',