about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch/features/video/index.js
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2019-05-26 19:55:58 +0200
committerThibaut Girka <thib@sitedethib.com>2019-05-27 19:43:15 +0200
commit6d60701bfaa3a4b2bc168ea413c8f0c8e1545526 (patch)
tree4ee42aa7195fd98de901dd73947e4eda2f195015 /app/javascript/flavours/glitch/features/video/index.js
parentb4d4138cf9753b0c25a17f01702b61a74de6ec2c (diff)
Fix video player regressions introduced by blurhash merge
Diffstat (limited to 'app/javascript/flavours/glitch/features/video/index.js')
-rw-r--r--app/javascript/flavours/glitch/features/video/index.js3
1 files changed, 0 insertions, 3 deletions
diff --git a/app/javascript/flavours/glitch/features/video/index.js b/app/javascript/flavours/glitch/features/video/index.js
index 3dd296c3c..b73ea0b07 100644
--- a/app/javascript/flavours/glitch/features/video/index.js
+++ b/app/javascript/flavours/glitch/features/video/index.js
@@ -306,9 +306,6 @@ export default class Video extends React.PureComponent {
     if (this.video && this.state.revealed && this.props.preventPlayback && !prevProps.preventPlayback) {
       this.video.pause();
     }
-  }
-
-  componentDidUpdate (prevProps) {
     if (prevProps.blurhash !== this.props.blurhash && this.props.blurhash) {
       this._decode();
     }