summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--animism-align/frontend/app/views/viewer/checklist/credits.css2
-rw-r--r--animism-align/frontend/app/views/viewer/viewer.actions.js6
2 files changed, 7 insertions, 1 deletions
diff --git a/animism-align/frontend/app/views/viewer/checklist/credits.css b/animism-align/frontend/app/views/viewer/checklist/credits.css
index b44aaf2..32bf897 100644
--- a/animism-align/frontend/app/views/viewer/checklist/credits.css
+++ b/animism-align/frontend/app/views/viewer/checklist/credits.css
@@ -3,7 +3,7 @@
.credits-content {
font-size: 0.875rem;
}
-.credits-content a {
+.credits a {
color: #000;
text-decoration: none;
border-bottom: 1px solid;
diff --git a/animism-align/frontend/app/views/viewer/viewer.actions.js b/animism-align/frontend/app/views/viewer/viewer.actions.js
index d5ad61a..f251e08 100644
--- a/animism-align/frontend/app/views/viewer/viewer.actions.js
+++ b/animism-align/frontend/app/views/viewer/viewer.actions.js
@@ -255,6 +255,12 @@ export const toggleComponent = key => dispatch => {
if (key !== "share" && state.share) {
dispatch({ type: types.viewer.toggle_component, key: "share", value: false })
}
+ if (key !== "footnotes" && state.footnotes) {
+ dispatch({ type: types.viewer.toggle_component, key: "footnotes", value: false })
+ }
+ if (key !== "subscribe" && state.subscribe) {
+ dispatch({ type: types.viewer.toggle_component, key: "subscribe", value: false })
+ }
dispatch({ type: types.viewer.toggle_component, key, value: !state[key] })
}