Skip to content

Commit

Permalink
don't assign multiple onclick handlers to facet clear buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
rbuels committed May 17, 2012
1 parent 635a6dc commit fb993f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/View/TrackList/Faceted.js
Original file line number Diff line number Diff line change
Expand Up @@ -560,7 +560,7 @@ dojo.declare( 'JBrowse.View.TrackList.Faceted', null,
});
dojo.addClass( titleContent, 'selected' );
dojo.query( '> a', titleContent )
.onclick( clearFunc )
.forEach(function(node) { node.onclick = clearFunc; })
.attr('title','clear selections');
}
// otherwise, no selected values
Expand Down

0 comments on commit fb993f3

Please sign in to comment.