diff options
Diffstat (limited to 'client/src/app/shared/shared-main')
-rw-r--r-- | client/src/app/shared/shared-main/misc/help.component.html | 2 | ||||
-rw-r--r-- | client/src/app/shared/shared-main/misc/help.component.ts | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/client/src/app/shared/shared-main/misc/help.component.html b/client/src/app/shared/shared-main/misc/help.component.html index b2d58a828..af8cb3b17 100644 --- a/client/src/app/shared/shared-main/misc/help.component.html +++ b/client/src/app/shared/shared-main/misc/help.component.html | |||
@@ -32,7 +32,7 @@ | |||
32 | [attr.aria-pressed]="isPopoverOpened" | 32 | [attr.aria-pressed]="isPopoverOpened" |
33 | [ngbPopover]="tooltipTemplate" | 33 | [ngbPopover]="tooltipTemplate" |
34 | [placement]="tooltipPlacement" | 34 | [placement]="tooltipPlacement" |
35 | autoClose="outside" | 35 | [autoClose]="autoClose" |
36 | (onHidden)="onPopoverHidden()" | 36 | (onHidden)="onPopoverHidden()" |
37 | (onShown)="onPopoverShown()" | 37 | (onShown)="onPopoverShown()" |
38 | > | 38 | > |
diff --git a/client/src/app/shared/shared-main/misc/help.component.ts b/client/src/app/shared/shared-main/misc/help.component.ts index bcbb464f3..9647e05bd 100644 --- a/client/src/app/shared/shared-main/misc/help.component.ts +++ b/client/src/app/shared/shared-main/misc/help.component.ts | |||
@@ -14,6 +14,7 @@ export class HelpComponent implements OnInit, OnChanges, AfterContentInit { | |||
14 | @Input() tooltipPlacement = 'right auto' | 14 | @Input() tooltipPlacement = 'right auto' |
15 | @Input() iconName: GlobalIconName = 'help' | 15 | @Input() iconName: GlobalIconName = 'help' |
16 | @Input() title = $localize`Get help` | 16 | @Input() title = $localize`Get help` |
17 | @Input() autoClose = 'outside' | ||
17 | 18 | ||
18 | @ContentChildren(PeerTubeTemplateDirective) templates: QueryList<PeerTubeTemplateDirective<'preHtml' | 'customHtml' | 'postHtml'>> | 19 | @ContentChildren(PeerTubeTemplateDirective) templates: QueryList<PeerTubeTemplateDirective<'preHtml' | 'customHtml' | 'postHtml'>> |
19 | 20 | ||