summaryrefslogtreecommitdiff
path: root/animism-align/frontend/app/views/viewer/player/components.fullscreen/fullscreen.utility.js
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2020-10-30 19:20:07 +0100
committerJules Laplace <julescarbon@gmail.com>2020-10-30 19:20:07 +0100
commitcce0986e26533efdfcdc92e90871ef9d9321a4ea (patch)
tree0bc69b2c2013b9947d423a13ce7756e0e5fa3bf0 /animism-align/frontend/app/views/viewer/player/components.fullscreen/fullscreen.utility.js
parent16f2d1f182232bf7867c7bdc8322a941453f4f99 (diff)
fullscreen curtain with text
Diffstat (limited to 'animism-align/frontend/app/views/viewer/player/components.fullscreen/fullscreen.utility.js')
-rw-r--r--animism-align/frontend/app/views/viewer/player/components.fullscreen/fullscreen.utility.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/animism-align/frontend/app/views/viewer/player/components.fullscreen/fullscreen.utility.js b/animism-align/frontend/app/views/viewer/player/components.fullscreen/fullscreen.utility.js
index 2a1283a..64b4e48 100644
--- a/animism-align/frontend/app/views/viewer/player/components.fullscreen/fullscreen.utility.js
+++ b/animism-align/frontend/app/views/viewer/player/components.fullscreen/fullscreen.utility.js
@@ -8,13 +8,12 @@ export const FullscreenCurtain = ({ element, transitionDuration }) => {
color: color.textColor,
transitionDuration,
}
- console.log(element, element.annotation.settings.curtain_text)
return (
<div
className='fullscreen-element curtain'
style={style}
>
- {element.annotation.curtain_text && (
+ {element.annotation.settings.curtain_text && (
<span dangerouslySetInnerHTML={{ __html: element.annotation.settings.curtain_text }} />
)}
</div>