equal
deleted
inserted
replaced
96 lines.push(line); |
96 lines.push(line); |
97 } |
97 } |
98 }); |
98 }); |
99 |
99 |
100 // open line on segment click |
100 // open line on segment click |
101 $j(document).on("click",".Ldt-Segments-Segment",function(e){ |
101 IriSP.jQuery(document).on("click",".Ldt-Segments-Segment",function(e){ |
102 if (!_this.show_all && currentLine && !currentLine.hasSegmentsNow()) { |
102 if (!_this.show_all && currentLine && !currentLine.hasSegmentsNow()) { |
103 currentLine = undefined; |
103 currentLine = undefined; |
104 } |
104 } |
105 IriSP._(lines).each(function(line) { |
105 IriSP._(lines).each(function(line) { |
106 if($j(e.target).parent().parent()[0]==line.segmentWidget[0]){ |
106 if($j(e.target).parent().parent()[0]==line.segmentWidget[0]){ |