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

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

Issue 6825052: Update the web store promo to be clearer and configurable at run-time. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix URL. Created 9 years, 8 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
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 14dc2dc1839b9e09facfa194e0b22cfcbe6978f1..3d3cf81038a29dc5c92792ef53dafeea3b059f4c 100644
--- a/chrome/browser/resources/new_new_tab.js
+++ b/chrome/browser/resources/new_new_tab.js
@@ -1469,10 +1469,6 @@ function isDoneLoading() {
// Initialize the apps promo.
Miranda Callahan 2011/04/13 14:29:29 should this comment change now as well?
jstritar 2011/04/13 19:52:27 Done.
document.addEventListener('DOMContentLoaded', function() {
- var promoLink = document.querySelector('#apps-promo-text1 a');
- promoLink.id = 'apps-promo-link';
- promoLink.href = localStrings.getString('web_store_url');
-
$('apps-promo-hide').addEventListener('click', function() {
chrome.send('hideAppsPromo', []);
document.documentElement.classList.remove('apps-promo-visible');

Powered by Google App Engine
This is Rietveld 408576698