I hate JS
This commit is contained in:
parent
2dff2d047c
commit
23f9429762
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ const eta = computed(() =>{
|
|||
let startTime = new Date(props.firstStartedAt * 1000)
|
||||
let playBackSeconds = (now - startTime) / 1000
|
||||
let etaSeconds = Math.round(props.offset - playBackSeconds)
|
||||
if etaSeconds < 0 {
|
||||
if (etaSeconds < 0) {
|
||||
etaSeconds = 0
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue