Commit 76fb4844 authored by Mikaël Salson's avatar Mikaël Salson

axis.js: type2 is a variable not an expected property in seg…

Fixes 2f117f42
parent 8e15fdc0
......@@ -99,7 +99,7 @@ Axis.prototype = {
//clone position
this.pos = function(cloneID) {
var clone = self.m.clone(cloneID)
if (clone.hasSeg('type2')
if (clone.hasSeg(type2)
&& typeof clone.seg[type2]["name"] != 'undefined'
&& typeof gene_list[clone.seg[type2]["name"].split("*")[0]] != "undefined")
{
......
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