Commit 85229d9f authored by Ryan Herbert's avatar Ryan Herbert

builder.js fix calls on undefined element

the germline_list element is commented out of the index.html file.
Therefore all the calls on that element we provoking javascript errors
and preventing the menu from initialising correctly in some cases.
parent 3e33aaca
......@@ -302,11 +302,11 @@ Builder.prototype = {
var displaySelector = document.getElementById("displaySelector")
var listTag = document.getElementById("tagList")
var listGermline = document.getElementById("germline_list")
// var listGermline = document.getElementById("germline_list")
//reset
listTag.innerHTML = "";
listGermline.innerHTML = "";
// listGermline.innerHTML = "";
//init tag list
for (var i = 0; i < this.m.tag.length; i++) {
......@@ -380,7 +380,7 @@ Builder.prototype = {
li = document.createElement('li');
li.appendChild(div)
listGermline.appendChild(li);
// listGermline.appendChild(li);
})(system)
}
......
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