aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/misc
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-12-01 16:17:32 +0100
committerChocobozzz <florian.bigard@gmail.com>2017-12-01 16:17:32 +0100
commit2bbb34127fccd187ed690949b6791e49fdd77194 (patch)
treed9ebcc72ab5e1d439f08e73881dc62baecb3bc36 /client/src/app/shared/misc
parent9bf9d2a5c223bf006496ae7adf0c0bd7a7975108 (diff)
downloadPeerTube-2bbb34127fccd187ed690949b6791e49fdd77194.tar.gz
PeerTube-2bbb34127fccd187ed690949b6791e49fdd77194.tar.zst
PeerTube-2bbb34127fccd187ed690949b6791e49fdd77194.zip
Add auto scroll to videos list
Diffstat (limited to 'client/src/app/shared/misc')
-rw-r--r--client/src/app/shared/misc/from-now.pipe.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/app/shared/misc/from-now.pipe.ts b/client/src/app/shared/misc/from-now.pipe.ts
index 25e5d6a85..80dab02ba 100644
--- a/client/src/app/shared/misc/from-now.pipe.ts
+++ b/client/src/app/shared/misc/from-now.pipe.ts
@@ -1,6 +1,6 @@
1import { Pipe, PipeTransform } from '@angular/core' 1import { Pipe, PipeTransform } from '@angular/core'
2 2
3// Thanks: https://github.com/danrevah/ngx-pipes/blob/master/src/pipes/math/bytes.ts 3// Thanks: https://stackoverflow.com/questions/3177836/how-to-format-time-since-xxx-e-g-4-minutes-ago-similar-to-stack-exchange-site
4 4
5@Pipe({name: 'fromNow'}) 5@Pipe({name: 'fromNow'})
6export class FromNowPipe implements PipeTransform { 6export class FromNowPipe implements PipeTransform {