aboutsummaryrefslogtreecommitdiffhomepage
path: root/client
diff options
context:
space:
mode:
Diffstat (limited to 'client')
-rw-r--r--client/e2e/src/utils/mock-smtp.ts2
-rw-r--r--client/src/app/+login/login.component.ts2
-rw-r--r--client/src/app/shared/shared-share-modal/video-share.component.ts2
-rw-r--r--client/src/assets/player/shared/peertube/peertube-plugin.ts6
4 files changed, 4 insertions, 8 deletions
diff --git a/client/e2e/src/utils/mock-smtp.ts b/client/e2e/src/utils/mock-smtp.ts
index be6f8b259..77691e981 100644
--- a/client/e2e/src/utils/mock-smtp.ts
+++ b/client/e2e/src/utils/mock-smtp.ts
@@ -24,8 +24,6 @@ class MockSMTPServer {
24 24
25 this.maildev.on('new', email => { 25 this.maildev.on('new', email => {
26 this.emails.push(email) 26 this.emails.push(email)
27
28 console.log('pushed email', email)
29 }) 27 })
30 28
31 this.maildev.listen(err => { 29 this.maildev.listen(err => {
diff --git a/client/src/app/+login/login.component.ts b/client/src/app/+login/login.component.ts
index c03af38f2..ba0d412d6 100644
--- a/client/src/app/+login/login.component.ts
+++ b/client/src/app/+login/login.component.ts
@@ -197,8 +197,6 @@ The link will expire within 1 hour.`
197 } 197 }
198 198
199 private handleError (err: any) { 199 private handleError (err: any) {
200 console.log(err)
201
202 if (this.authService.isOTPMissingError(err)) { 200 if (this.authService.isOTPMissingError(err)) {
203 this.otpStep = true 201 this.otpStep = true
204 202
diff --git a/client/src/app/shared/shared-share-modal/video-share.component.ts b/client/src/app/shared/shared-share-modal/video-share.component.ts
index 43229c330..1b69aa2d0 100644
--- a/client/src/app/shared/shared-share-modal/video-share.component.ts
+++ b/client/src/app/shared/shared-share-modal/video-share.component.ts
@@ -203,8 +203,6 @@ export class VideoShareComponent {
203 // --------------------------------------------------------------------------- 203 // ---------------------------------------------------------------------------
204 204
205 async onUpdate () { 205 async onUpdate () {
206 console.log('on update')
207
208 if (this.playlist) { 206 if (this.playlist) {
209 this.playlistUrl = await this.getPlaylistUrl() 207 this.playlistUrl = await this.getPlaylistUrl()
210 this.playlistEmbedUrl = await this.getPlaylistEmbedUrl() 208 this.playlistEmbedUrl = await this.getPlaylistEmbedUrl()
diff --git a/client/src/assets/player/shared/peertube/peertube-plugin.ts b/client/src/assets/player/shared/peertube/peertube-plugin.ts
index cf96b33ba..af2147749 100644
--- a/client/src/assets/player/shared/peertube/peertube-plugin.ts
+++ b/client/src/assets/player/shared/peertube/peertube-plugin.ts
@@ -180,8 +180,10 @@ class PeerTubePlugin extends Plugin {
180 }) 180 })
181 181
182 this.player.on('seeked', () => { 182 this.player.on('seeked', () => {
183 // Don't take into account small seek events 183 const diff = Math.floor(this.player.currentTime()) - lastCurrentTime
184 if (Math.abs(this.player.currentTime() - lastCurrentTime) < 3) return 184
185 // Don't take into account small forwards
186 if (diff > 0 && diff < 3) return
185 187
186 lastViewEvent = 'seek' 188 lastViewEvent = 'seek'
187 }) 189 })