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

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

Issue 6162006: Changes to default apps promo per ui leads: (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review comments Created 9 years, 11 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') | chrome/browser/resources/ntp/apps.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/new_new_tab.js
diff --git a/chrome/browser/resources/new_new_tab.js b/chrome/browser/resources/new_new_tab.js
index a2dbc6bf1ecd31571356a180b880e67965941bf7..f72fadd5eb21daff71ded6f9db16b04ae5c83fbd 100644
--- a/chrome/browser/resources/new_new_tab.js
+++ b/chrome/browser/resources/new_new_tab.js
@@ -1379,10 +1379,7 @@ function isDoneLoading() {
// Initialize the apps promo.
document.addEventListener('DOMContentLoaded', function() {
- var promoText1 = $('apps-promo-text1');
- promoText1.innerHTML = promoText1.textContent;
-
- var promoLink = promoText1.querySelector('a');
+ var promoLink = document.querySelector('#apps-promo-text1 a');
promoLink.id = 'apps-promo-link';
promoLink.href = localStrings.getString('web_store_url');
« no previous file with comments | « chrome/browser/resources/new_new_tab.html ('k') | chrome/browser/resources/ntp/apps.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698