Merge branch 'feature/audio-upload' into develop
[oweals/peertube.git] / client / src / app / shared / video / video-miniature.component.ts
index e3552abbaf4caa8297214b575e90f3ed62c2a1d1..48475033cc180c1e0c05d37f04867f7e77addf96 100644 (file)
@@ -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()
     }
   }