Commit 9e11c210 authored by Ryan Herbert's avatar Ryan Herbert Committed by Mathieu Giraud
Browse files

segmenter.js oh hacky days !

add some space-filler divs to the germline sequence nameBox
parent 62d80a72
...@@ -760,6 +760,24 @@ Segment.prototype = { ...@@ -760,6 +760,24 @@ Segment.prototype = {
seq_name.appendChild(span_name); seq_name.appendChild(span_name);
seq_name.title = id; seq_name.title = id;
div_elem.appendChild(seq_name); div_elem.appendChild(seq_name);
// create some elements to fill out the space, ideally refactor this method.
var fake_info = document.createElement('span');
fake_info.className = "infoBox";
var fake_star = document.createElement('span');
fake_star.className = "starBox";
var fake_axis = document.createElement('span');
fake_axis.className = "axisBox";
var fake_size = document.createElement('span');
fake_size.className = 'Size';
var fake_size_box = document.createElement('span');
fake_size_box.className = "sizeBox sixChars";
fake_size.appendChild(fake_size_box);
fake_axis.appendChild(fake_size);
div_elem.appendChild(fake_info);
div_elem.appendChild(fake_star);
div_elem.appendChild(fake_axis);
}, },
/** /**
......
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