Commit 3ee1a60b authored by Mathieu Giraud's avatar Mathieu Giraud Committed by Vidjil Team

index.html, js/builder: Revert "temporary remove 'sampling date' display"

This reverts commit 85dd6226.
Thanks to 49ee14e8, the sampling date is correctly given to the browser.
parent 408d3ff9
......@@ -209,10 +209,8 @@
<div class="menu_box">
point key</br>
<input type="radio" name="time" value="name" onchange="m.time_switch()" checked>name</input></br>
<!--
<input type="radio" name="time" value="sampling_date" onchange="m.time_switch()">sampling date</input></br>
<input type="radio" name="time" value="delta_date" onchange="m.time_switch()">day after first sample</input>
-->
</div>
<div class="submenu" id="system_menu" style="display:none">
......
......@@ -590,7 +590,7 @@ Builder.prototype = {
self.edit(this, "timestamp");
}
// div_date.appendChild(span)
// parent.appendChild(div_date)
parent.appendChild(div_date)
var percent = (this.m.reads.segmented[this.m.t] / this.m.reads.total[this.m.t]) * 100
var val = "" + this.m.reads.segmented[this.m.t] + " reads" + " (" + percent.toFixed(2) + "%)"
......
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