Skip to content

Commit

Permalink
fix feature class display when strand data is missing
Browse files Browse the repository at this point in the history
  • Loading branch information
rbuels committed May 29, 2012
1 parent 7229432 commit fc472eb
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions js/FeatureTrack.js
Original file line number Diff line number Diff line change
Expand Up @@ -575,14 +575,11 @@ FeatureTrack.prototype.renderFeature = function(feature, uniqueId, block, scale,
case 1:
case '+':
featDiv.className = "plus-" + this.config.style.className; break;
case 0:
case '.':
case null:
case undefined:
featDiv.className = this.config.style.className; break;
case -1:
case '-':
featDiv.className = "minus-" + this.config.style.className; break;
default:
featDiv.className = this.config.style.className; break;
}

var phase = feature.get('phase');
Expand Down

0 comments on commit fc472eb

Please sign in to comment.