diff options
Diffstat (limited to 'animism-align/frontend/app/views/viewer/sections/viewer.sections.js')
| -rw-r--r-- | animism-align/frontend/app/views/viewer/sections/viewer.sections.js | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/animism-align/frontend/app/views/viewer/sections/viewer.sections.js b/animism-align/frontend/app/views/viewer/sections/viewer.sections.js index 6d5e932..f4abbd6 100644 --- a/animism-align/frontend/app/views/viewer/sections/viewer.sections.js +++ b/animism-align/frontend/app/views/viewer/sections/viewer.sections.js @@ -8,15 +8,6 @@ import { ROMAN_NUMERALS } from 'app/constants' import { thumbnailURL } from 'app/utils/annotation.utils' class ViewerSections extends Component { - componentDidMount() { - } - - handleSectionSelection(section) { - actions.audio.seek(section.start_ts) - actions.audio.play() - actions.viewer.hideComponent('nav') - } - render() { const { sections } = this.props return ( @@ -27,7 +18,7 @@ class ViewerSections extends Component { <div className="viewer-section" key={section.index} - onClick={() => this.handleSectionSelection(section)} + onClick={() => actions.viewer.seekToSection(section)} > <div> <div className="section-thumbnail" style={{ |
