diff options
author | Chocobozzz <me@florianbigard.com> | 2019-05-13 15:18:11 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-05-13 15:18:11 +0200 |
commit | 4da22f64e71166e7482cc2f04531c0c4a1f32e22 (patch) | |
tree | 630cfdc6f5725f74beba07c279a4d3335e74231f /client/src/app/shared/video/video-actions-dropdown.component.html | |
parent | 9d1603d36be3ccdb84e77b19f727318fb95f2e0c (diff) | |
download | PeerTube-4da22f64e71166e7482cc2f04531c0c4a1f32e22.tar.gz PeerTube-4da22f64e71166e7482cc2f04531c0c4a1f32e22.tar.zst PeerTube-4da22f64e71166e7482cc2f04531c0c4a1f32e22.zip |
Lazy load dropdown info on click
Instead of mouseenter
Diffstat (limited to 'client/src/app/shared/video/video-actions-dropdown.component.html')
-rw-r--r-- | client/src/app/shared/video/video-actions-dropdown.component.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/app/shared/video/video-actions-dropdown.component.html b/client/src/app/shared/video/video-actions-dropdown.component.html index 300fe318a..ec03fa55d 100644 --- a/client/src/app/shared/video/video-actions-dropdown.component.html +++ b/client/src/app/shared/video/video-actions-dropdown.component.html | |||
@@ -11,7 +11,7 @@ | |||
11 | </div> | 11 | </div> |
12 | 12 | ||
13 | <my-action-dropdown | 13 | <my-action-dropdown |
14 | [actions]="videoActions" [label]="label" [entry]="{ video: video }" (mouseenter)="loadDropdownInformation()" | 14 | [actions]="videoActions" [label]="label" [entry]="{ video: video }" (click)="loadDropdownInformation()" |
15 | [buttonSize]="buttonSize" [placement]="placement" [buttonDirection]="buttonDirection" [buttonStyled]="buttonStyled" | 15 | [buttonSize]="buttonSize" [placement]="placement" [buttonDirection]="buttonDirection" [buttonStyled]="buttonStyled" |
16 | ></my-action-dropdown> | 16 | ></my-action-dropdown> |
17 | 17 | ||