Bug 266331 - wrong tooltip is used for the feed button when a page which has feeds is being loaded. patch from Phil Ringnalda <bugzilla@philringnalda.com>, r=me.

git-svn-id: svn://10.0.0.236/trunk@181460 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mozilla.mano%sent.com
2005-10-03 03:25:44 +00:00
parent c60e095405
commit f51e474c1a

View File

@@ -6156,8 +6156,11 @@ var FeedHandler = {
browserForLink.feeds = feeds;
if (browserForLink == gBrowser || browserForLink == gBrowser.mCurrentBrowser) {
var feedButton = document.getElementById("feed-button");
if (feedButton)
if (feedButton) {
feedButton.setAttribute("feeds", "true");
feedButton.setAttribute("tooltiptext",
gNavigatorBundle.getString("feedHasFeeds"));
}
}
}
}