X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fapp.component.ts;h=edec3216e83d158b30a0feed45bc3d5fc06cc47a;hb=79f392a6578f67d74da3dbf883a9f4b40c35124b;hp=5b0439e6bb30f28e97c0608e6db5ada6ff02efd2;hpb=245b9d27bc10a4d8c8eb64add06b653f12763f56;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/app/app.component.ts b/client/src/app/app.component.ts index 5b0439e6b..edec3216e 100644 --- a/client/src/app/app.component.ts +++ b/client/src/app/app.component.ts @@ -180,7 +180,7 @@ export class AppComponent implements OnInit, AfterViewInit { eventsObs.pipe( filter((e: Event): e is GuardsCheckStart => e instanceof GuardsCheckStart), - filter(() => this.screenService.isInSmallView() || !!this.screenService.isInTouchScreen()) + filter(() => this.screenService.isInSmallView() || this.screenService.isInTouchScreen()) ).subscribe(() => this.menu.setMenuDisplay(false)) // User clicked on a link in the menu, change the page }