Skip to content

Commit

Permalink
Just update all titles afterwards which is immensely faster for huge …
Browse files Browse the repository at this point in the history
…tracklists
  • Loading branch information
cmdcolin committed Dec 18, 2018
1 parent 4be8015 commit 0995a8b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/JBrowse/View/TrackList/Hierarchical.js
Expand Up @@ -211,9 +211,8 @@ return declare(
dom.create('span', { className: 'key', innerHTML: trackConf.key || trackConf.label }, labelNode );

category.tracks[ trackLabel ] = { checkbox: checkbox, checkListener: checkListener, labelNode: labelNode };

this._updateTitles( category );
}, this );
this._updateAllTitles()
},
// called when item checkbox is clicked.
itemClick: function(checkbox,trackConf) {
Expand Down

0 comments on commit 0995a8b

Please sign in to comment.