projects
/
oweals
/
peertube.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'feature/audio-upload' into develop
[oweals/peertube.git]
/
client
/
src
/
app
/
shared
/
video
/
video-miniature.component.ts
diff --git
a/client/src/app/shared/video/video-miniature.component.ts
b/client/src/app/shared/video/video-miniature.component.ts
index e3552abbaf4caa8297214b575e90f3ed62c2a1d1..48475033cc180c1e0c05d37f04867f7e77addf96 100644
(file)
--- 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()
}
}