summaryrefslogtreecommitdiff
path: root/frontend/site/projects/museum/views/titles.overlay.js
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/site/projects/museum/views/titles.overlay.js')
-rw-r--r--frontend/site/projects/museum/views/titles.overlay.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/frontend/site/projects/museum/views/titles.overlay.js b/frontend/site/projects/museum/views/titles.overlay.js
index 7f254ab..a7aae17 100644
--- a/frontend/site/projects/museum/views/titles.overlay.js
+++ b/frontend/site/projects/museum/views/titles.overlay.js
@@ -3,6 +3,8 @@ import { connect } from 'react-redux'
import { HEADPHONES } from '../constants.js'
import { SUBTITLES } from '../subtitles.js'
+import { isMobile } from 'app/utils'
+import actions from 'site/actions'
import './titles.css'
@@ -73,6 +75,9 @@ 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,