Fixed error in js
This commit is contained in:
		
							parent
							
								
									4c2730bc59
								
							
						
					
					
						commit
						12f3670548
					
				| 
						 | 
					@ -16,7 +16,7 @@ export default {
 | 
				
			||||||
  durationFormatted (v) {
 | 
					  durationFormatted (v) {
 | 
				
			||||||
    let duration = parseInt(v)
 | 
					    let duration = parseInt(v)
 | 
				
			||||||
    if (duration % 1 !== 0) {
 | 
					    if (duration % 1 !== 0) {
 | 
				
			||||||
      return time.parse(0)
 | 
					      return this.parse(0)
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
    duration = Math.round(duration)
 | 
					    duration = Math.round(duration)
 | 
				
			||||||
    return this.parse(duration)
 | 
					    return this.parse(duration)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue