summaryrefslogtreecommitdiff
path: root/frontend/site/projects/museum/views/titles.overlay.js
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2021-04-20 01:21:05 +0200
committerJules Laplace <julescarbon@gmail.com>2021-04-20 01:21:18 +0200
commitd4ee597d5e618eac4977ae6931a21f004f731674 (patch)
treeb5475c94ef5d1ee5f1ce01a5e9d1703e69485ede /frontend/site/projects/museum/views/titles.overlay.js
parent9a4850fa9bed2aa478b69f619aa8132209da2c5c (diff)
longer charles transition
Diffstat (limited to 'frontend/site/projects/museum/views/titles.overlay.js')
-rw-r--r--frontend/site/projects/museum/views/titles.overlay.js22
1 files changed, 11 insertions, 11 deletions
diff --git a/frontend/site/projects/museum/views/titles.overlay.js b/frontend/site/projects/museum/views/titles.overlay.js
index 2b0ba7e..44b26b3 100644
--- a/frontend/site/projects/museum/views/titles.overlay.js
+++ b/frontend/site/projects/museum/views/titles.overlay.js
@@ -132,17 +132,17 @@ class TitlesOverlay extends Component {
if (this.advancing === this.state.content.next) return
this.advancing = this.state.content.next
this.textRef.current.classList.remove("visible")
- Array.from(document.querySelectorAll("video")).forEach(video => {
- video.style.transition = "opacity 0.5s"
- })
- setTimeout(() => {
- Array.from(document.querySelectorAll("video")).forEach(video => {
- video.style.opacity = 0
- })
- }, 500)
- setTimeout(() => {
- history.push(`/last-museum/${this.state.content.next}/`)
- }, 1000)
+ // Array.from(document.querySelectorAll("video")).forEach(video => {
+ // video.style.transition = "opacity 0.5s"
+ // })
+ // setTimeout(() => {
+ // Array.from(document.querySelectorAll("video")).forEach(video => {
+ // video.style.opacity = 0
+ // })
+ // }, 500)
+ // setTimeout(() => {
+ history.push(`/last-museum/${this.state.content.next}/`)
+ // }, 1000)
}
render() {