Commit ccf2081e authored by Mathieu Giraud's avatar Mathieu Giraud

js/segmenter.js: fix IMGT productivity icon

Thanks for @mikael-s for discovering this bug
parent 7f7bf984
......@@ -558,7 +558,7 @@ Segment.prototype = {
var info = '' ;
if (clone.seg.imgt!=null){
info = (clone.seg.imgt["Functionality"].toLowerCase().indexOf("unproductive") > -1)
info = (clone.seg.imgt["Functionality"].toLowerCase().indexOf("unproductive") < 0)
? icon('icon-plus-squared', 'productive, as computed by IMGT/V-QUEST')
: icon('icon-minus-squared', 'unproductive, as computed by IMGT/V-QUEST') ;
}
......
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