Skip to content

Commit

Permalink
tweak "Clear highlight" menu item text, references #76
Browse files Browse the repository at this point in the history
  • Loading branch information
rbuels committed Feb 26, 2013
1 parent afe47cb commit 2fc7e6f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/JBrowse/Browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -2163,11 +2163,12 @@ Browser.prototype.setHighlight = function( newHighlight ) {

if( this._highlightClearButton ) {
this._highlightClearButton.set( 'disabled', false );
this._highlightClearButton.set( 'label', 'Clear highlight (' + this._highlight +')' );
this._highlightClearButton.set( 'label', 'Clear highlight - ' + this._highlight );
}

return this.getHighlight();
};

Browser.prototype.clearHighlight = function() {

delete this._highlight;
Expand Down

0 comments on commit 2fc7e6f

Please sign in to comment.