mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-15 06:35:20 -07:00
Fix timestamps condition
This commit is contained in:
parent
8a50ad2111
commit
e2172dfe7f
1 changed files with 1 additions and 1 deletions
|
|
@ -2,7 +2,7 @@ import renderPoster from './poster.js'
|
|||
|
||||
function renderTimestamps ( video ) {
|
||||
|
||||
if ( video.timestamps.length > 0 ) return ''
|
||||
if ( video.timestamps.length === 0 ) return ''
|
||||
|
||||
const timestampsForRender = video.timestamps.map( timestamp => {
|
||||
const [ minutes, seconds ] = timestamp.time.split(':')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue