diff options
author | Chocobozzz <me@florianbigard.com> | 2019-04-05 14:16:48 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-04-05 14:16:48 +0200 |
commit | 8dfceec44a5eec8b0190d1d5076aab0f03a0cb52 (patch) | |
tree | 70ff676157240702a2013f2f6d705bfc342a8a81 /client/src/app/shared/video/video-miniature.component.ts | |
parent | 3a0fb65c61f80b510bce979a45d59d17948745e8 (diff) | |
download | PeerTube-8dfceec44a5eec8b0190d1d5076aab0f03a0cb52.tar.gz PeerTube-8dfceec44a5eec8b0190d1d5076aab0f03a0cb52.tar.zst PeerTube-8dfceec44a5eec8b0190d1d5076aab0f03a0cb52.zip |
video add to playlist component -> onpush strategy
Diffstat (limited to 'client/src/app/shared/video/video-miniature.component.ts')
-rw-r--r-- | client/src/app/shared/video/video-miniature.component.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/client/src/app/shared/video/video-miniature.component.ts b/client/src/app/shared/video/video-miniature.component.ts index e3552abba..e32b8cbc5 100644 --- a/client/src/app/shared/video/video-miniature.component.ts +++ b/client/src/app/shared/video/video-miniature.component.ts | |||
@@ -72,7 +72,8 @@ export class VideoMiniatureComponent implements OnInit { | |||
72 | ngOnInit () { | 72 | ngOnInit () { |
73 | this.setUpBy() | 73 | this.setUpBy() |
74 | 74 | ||
75 | if (this.screenService.isInSmallView()) { | 75 | // We rely on mouseenter to lazy load actions |
76 | if (this.screenService.isInTouchScreen()) { | ||
76 | this.showActions = true | 77 | this.showActions = true |
77 | } | 78 | } |
78 | } | 79 | } |