diff options
author | Chocobozzz <me@florianbigard.com> | 2018-06-07 14:58:41 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-06-07 14:58:41 +0200 |
commit | 3baf9be283d75cddc8aab918e6d6557371fbd9e9 (patch) | |
tree | 8c783b1d0cf842687b42b5363a497880a1addc24 /client/src/app/+accounts | |
parent | 734a5ceb3d04088743d72babcb9b05e6142043f6 (diff) | |
download | PeerTube-3baf9be283d75cddc8aab918e6d6557371fbd9e9.tar.gz PeerTube-3baf9be283d75cddc8aab918e6d6557371fbd9e9.tar.zst PeerTube-3baf9be283d75cddc8aab918e6d6557371fbd9e9.zip |
Fix player resolution change that plays even if the video was paused
Diffstat (limited to 'client/src/app/+accounts')
-rw-r--r-- | client/src/app/+accounts/accounts.component.ts | 4 |
1 files changed, 2 insertions, 2 deletions
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 @@ | |||
1 | import { Component, OnInit } from '@angular/core' | 1 | import { Component, OnInit, OnDestroy } from '@angular/core' |
2 | import { ActivatedRoute } from '@angular/router' | 2 | import { ActivatedRoute } from '@angular/router' |
3 | import { AccountService } from '@app/shared/account/account.service' | 3 | import { AccountService } from '@app/shared/account/account.service' |
4 | import { Account } from '@app/shared/account/account.model' | 4 | import { Account } from '@app/shared/account/account.model' |
@@ -10,7 +10,7 @@ import { Subscription } from 'rxjs' | |||
10 | templateUrl: './accounts.component.html', | 10 | templateUrl: './accounts.component.html', |
11 | styleUrls: [ './accounts.component.scss' ] | 11 | styleUrls: [ './accounts.component.scss' ] |
12 | }) | 12 | }) |
13 | export class AccountsComponent implements OnInit { | 13 | export class AccountsComponent implements OnInit, OnDestroy { |
14 | account: Account | 14 | account: Account |
15 | 15 | ||
16 | private routeSub: Subscription | 16 | private routeSub: Subscription |