Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(436)

Unified Diff: chrome/browser/resources/new_new_tab.js

Issue 202052: NNTP: Fix undo link color... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/resources/new_new_tab.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/new_new_tab.js
===================================================================
--- chrome/browser/resources/new_new_tab.js (revision 25909)
+++ chrome/browser/resources/new_new_tab.js (working copy)
@@ -904,7 +904,7 @@
// Remove any possible first-run trails.
removeClass(notification, 'first-run');
- var actionLink = notificationElement.querySelector('.link');
+ var actionLink = notificationElement.querySelector('.link-color');
notificationElement.firstElementChild.textContent = text;
actionLink.textContent = actionText;
@@ -924,7 +924,7 @@
function hideNotification() {
var notificationElement = $('notification');
removeClass(notificationElement, 'show');
- var actionLink = notificationElement.querySelector('.link');
+ var actionLink = notificationElement.querySelector('.link-color');
// Prevent tabbing to the hidden link.
actionLink.tabIndex = -1;
}
« no previous file with comments | « chrome/browser/resources/new_new_tab.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698