| Index: chrome/browser/resources/ntp/apps.js
|
| diff --git a/chrome/browser/resources/ntp/apps.js b/chrome/browser/resources/ntp/apps.js
|
| index dd44532484cb274e4ccc48cc7cb5deef19a5c377..e6f79a21161ab3bee28be48e101c1090487d18a0 100644
|
| --- a/chrome/browser/resources/ntp/apps.js
|
| +++ b/chrome/browser/resources/ntp/apps.js
|
| @@ -37,6 +37,10 @@ function getAppsCallback(data) {
|
| addClosedMenuFooter(apps.menu, 'apps', MINIMIZED_APPS, Section.APPS);
|
|
|
| apps.loaded = true;
|
| + if (data.showPromo)
|
| + document.documentElement.classList.add('apps-promo-visible');
|
| + else
|
| + document.documentElement.classList.remove('apps-promo-visible');
|
| maybeDoneLoading();
|
|
|
| if (data.apps.length > 0 && isDoneLoading()) {
|
|
|