From 3baf9be283d75cddc8aab918e6d6557371fbd9e9 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 7 Jun 2018 14:58:41 +0200 Subject: Fix player resolution change that plays even if the video was paused --- client/src/app/+accounts/accounts.component.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'client/src/app/+accounts') diff --git a/client/src/app/+accounts/accounts.component.ts b/client/src/app/+accounts/accounts.component.ts index 2a6856c10..af0451e91 100644 --- a/client/src/app/+accounts/accounts.component.ts +++ b/client/src/app/+accounts/accounts.component.ts @@ -1,4 +1,4 @@ -import { Component, OnInit } from '@angular/core' +import { Component, OnInit, OnDestroy } from '@angular/core' import { ActivatedRoute } from '@angular/router' import { AccountService } from '@app/shared/account/account.service' import { Account } from '@app/shared/account/account.model' @@ -10,7 +10,7 @@ import { Subscription } from 'rxjs' templateUrl: './accounts.component.html', styleUrls: [ './accounts.component.scss' ] }) -export class AccountsComponent implements OnInit { +export class AccountsComponent implements OnInit, OnDestroy { account: Account private routeSub: Subscription -- cgit v1.2.3