aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+accounts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-06-07 14:58:41 +0200
committerChocobozzz <me@florianbigard.com>2018-06-07 14:58:41 +0200
commit3baf9be283d75cddc8aab918e6d6557371fbd9e9 (patch)
tree8c783b1d0cf842687b42b5363a497880a1addc24 /client/src/app/+accounts
parent734a5ceb3d04088743d72babcb9b05e6142043f6 (diff)
downloadPeerTube-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.ts4
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 @@
1import { Component, OnInit } from '@angular/core' 1import { Component, OnInit, OnDestroy } from '@angular/core'
2import { ActivatedRoute } from '@angular/router' 2import { ActivatedRoute } from '@angular/router'
3import { AccountService } from '@app/shared/account/account.service' 3import { AccountService } from '@app/shared/account/account.service'
4import { Account } from '@app/shared/account/account.model' 4import { 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})
13export class AccountsComponent implements OnInit { 13export class AccountsComponent implements OnInit, OnDestroy {
14 account: Account 14 account: Account
15 15
16 private routeSub: Subscription 16 private routeSub: Subscription