summaryrefslogtreecommitdiff
path: root/animism-align/frontend/app/views/viewer/sections/viewer.sections.list.js
diff options
context:
space:
mode:
Diffstat (limited to 'animism-align/frontend/app/views/viewer/sections/viewer.sections.list.js')
-rw-r--r--animism-align/frontend/app/views/viewer/sections/viewer.sections.list.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/animism-align/frontend/app/views/viewer/sections/viewer.sections.list.js b/animism-align/frontend/app/views/viewer/sections/viewer.sections.list.js
index 8fc1238..800cef4 100644
--- a/animism-align/frontend/app/views/viewer/sections/viewer.sections.list.js
+++ b/animism-align/frontend/app/views/viewer/sections/viewer.sections.list.js
@@ -37,7 +37,7 @@ class ViewerSectionsList extends Component {
this.scrollRef.current.scrollLeft += delta
}
handleSectionClick(e, section) {
- if (this.props.onlyEnableFirstSection) {
+ if (this.props.onlyEnableFirstSection && section.index !== 0) {
this.setState({ selectedSectionIndex: section.index })
clearTimeout(this.warningFadeTimeout)
this.warningFadeTimeout = setTimeout(() => {