Skip to content

Commit

Permalink
Merge pull request #72 from nohamelin/feed-title-tooltip-cleanup
Browse files Browse the repository at this point in the history
Always reset the tooltip of the feed's title on change
  • Loading branch information
tanriol committed Jul 19, 2013
2 parents b419496 + c24dee6 commit 85fe595
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions chrome/content/feedview.js
Original file line number Diff line number Diff line change
Expand Up @@ -804,6 +804,7 @@ FeedView.prototype = {
_buildHeader: function FeedView__buildHeader() {
let feedTitle = getElement('feed-title');
feedTitle.removeAttribute('href');
feedTitle.removeAttribute('tooltiptext');
feedTitle.className = '';
feedTitle.textContent = this.titleOverride || this.title;

Expand All @@ -822,10 +823,9 @@ FeedView.prototype = {

if (!securityCheckFailed && !this.query.searchString) {
feedTitle.setAttribute('href', url);
feedTitle.setAttribute('tooltiptext', feed.subtitle);
feedTitle.className = 'feed-link';
}

feedTitle.setAttribute('tooltiptext', feed.subtitle);
}
},

Expand Down

0 comments on commit 85fe595

Please sign in to comment.