Commit c60722e2 authored by HERBERT Ryan's avatar HERBERT Ryan Committed by Vidjil Team

model.js removed dash on empty sample comment

Dash was no longer needed due to replace function no longer being
called. This also allows the placeholder to be applied correctly
parent a1cec55d
......@@ -486,7 +486,7 @@ Model.prototype = {
getInfoTime: function(time) {
var time = typeof time !== 'undefined' ? time : this.t
var info = "-"
if (typeof this.samples.info != 'undefined' && this.samples.info != null && this.samples.info != "")
if (typeof this.samples.info != 'undefined' && this.samples.info != null)
info = this.samples.info[time]
return info
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment