| Index: chrome/browser/resources/ntp4/new_tab.js
|
| diff --git a/chrome/browser/resources/ntp4/new_tab.js b/chrome/browser/resources/ntp4/new_tab.js
|
| index 43e25f756290ee3f8dd76be31e0b2c6042e8bdba..beeef091b9c395c1d382a36c57fe3e21cef4d6bd 100644
|
| --- a/chrome/browser/resources/ntp4/new_tab.js
|
| +++ b/chrome/browser/resources/ntp4/new_tab.js
|
| @@ -79,15 +79,9 @@ cr.define('ntp', function() {
|
| */
|
| function onLoad() {
|
| sectionsToWaitFor = 0;
|
| - if (loadTimeData.getBoolean('showApps')) {
|
| + if (loadTimeData.getBoolean('showApps'))
|
| sectionsToWaitFor++;
|
| - if (loadTimeData.getBoolean('showAppLauncherPromo')) {
|
| - $('app-launcher-promo-close-button').addEventListener('click',
|
| - function() { chrome.send('stopShowingAppLauncherPromo'); });
|
| - $('apps-promo-learn-more').addEventListener('click',
|
| - function() { chrome.send('onLearnMore'); });
|
| - }
|
| - }
|
| +
|
| measureNavDots();
|
|
|
| // Load the current theme colors.
|
|
|