Commit 3bed060a authored by flothoni's avatar flothoni

graph.js; fix error if click on a distrib graph

Link to #4026
parent 04281f03
Pipeline #101156 failed with stages
in 40 seconds
......@@ -426,7 +426,7 @@ Graph.prototype = {
*
* */
updateElemStyle: function (list) {
if (this.m.focus != -1) {
if (this.m.focus != -1 && this.m.clone(this.m.focus).hasSizeConstant()) {
var line = document.getElementById("polyline" + this.m.focus);
document.getElementById("clones_container")
.appendChild(line);
......
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