From 475638e617c5053aeb897d26bfba4c8d1975c614 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Fri, 7 Aug 2020 22:59:03 +0200 Subject: next button --- .../frontend/app/views/viewer/sections/viewer.sections.js | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'animism-align/frontend/app/views/viewer/sections/viewer.sections.js') 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 {
this.handleSectionSelection(section)} + onClick={() => actions.viewer.seekToSection(section)} >