Commit 31524726 authored by marc duez's avatar marc duez

list.js: index everything

remove use of jquery and index every dom element and content/color/display/... for minimum dom access
parent 95ab932a
Pipeline #109879 failed with stages
in 24 seconds
This diff is collapsed.
......@@ -536,7 +536,8 @@ Segment.prototype = {
if (this.sequence[cloneID]) {
//it should not be present in the segmenter > delete
var element = document.getElementById("seq" + cloneID);
element.parentNode.removeChild(element);
if (element != null)
element.parentNode.removeChild(element);
delete this.sequence[cloneID];
}
}
......
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