diff options
Diffstat (limited to 'frontend/site/projects/museum/views/titles.overlay.js')
| -rw-r--r-- | frontend/site/projects/museum/views/titles.overlay.js | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/frontend/site/projects/museum/views/titles.overlay.js b/frontend/site/projects/museum/views/titles.overlay.js index 32e7344..5c51924 100644 --- a/frontend/site/projects/museum/views/titles.overlay.js +++ b/frontend/site/projects/museum/views/titles.overlay.js @@ -68,6 +68,11 @@ class TitlesOverlay extends Component { const { page_name } = this.props.match.params clearTimeout(this.titleTimeout) this.props.audio.player.stop("text-overlay") + if (isMobile) { + setTimeout(() => { + actions.site.setPopups({ text: true }) + }, 100) + } if (SUBTITLES[page_name]) { this.setState({ content: SUBTITLES[page_name], @@ -75,9 +80,6 @@ class TitlesOverlay extends Component { showVideo: false, }) setTimeout(SUBTITLES[page_name].headphones ? this.showHeadphones : this.showTitle, 0) - if (isMobile) { - actions.site.setPopups({ text: true }) - } } else { this.setState({ content: null, |
