Commit fd278598 authored by Thonier Florian's avatar Thonier Florian

semgenter.js; at init, semgenter can haven't divParent listSeq present

In this case, ignore this function call (update_first_clone)
link to #2041
parent 6f22700a
Pipeline #72094 failed with stages
in 16 seconds
......@@ -716,6 +716,8 @@ Segment.prototype = {
update_first_clone : function(cloneID) {
var divParent = document.getElementById("listSeq");
if (divParent == undefined) { return }
// Am I the first clone in this segmenter ?
var previous_li = divParent.getElementsByTagName("li");
......
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