X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fshared%2Fvideo%2Fvideo-miniature.component.ts;h=48475033cc180c1e0c05d37f04867f7e77addf96;hb=73b3aa6429dfb2e31628fa09a479dce318289d7d;hp=e3552abbaf4caa8297214b575e90f3ed62c2a1d1;hpb=3a0fb65c61f80b510bce979a45d59d17948745e8;p=oweals%2Fpeertube.git diff --git a/client/src/app/shared/video/video-miniature.component.ts b/client/src/app/shared/video/video-miniature.component.ts index e3552abba..48475033c 100644 --- a/client/src/app/shared/video/video-miniature.component.ts +++ b/client/src/app/shared/video/video-miniature.component.ts @@ -72,8 +72,9 @@ export class VideoMiniatureComponent implements OnInit { ngOnInit () { this.setUpBy() - if (this.screenService.isInSmallView()) { - this.showActions = true + // We rely on mouseenter to lazy load actions + if (this.screenService.isInTouchScreen()) { + this.loadActions() } }