Index: chrome/browser/resources/ntp/apps.js |
diff --git a/chrome/browser/resources/ntp/apps.js b/chrome/browser/resources/ntp/apps.js |
index 2be85fa3b32bcd6cac8768dc0d077d24c036ea34..65f97cb7af760eaa930015d6cac8cf53593b0011 100644 |
--- a/chrome/browser/resources/ntp/apps.js |
+++ b/chrome/browser/resources/ntp/apps.js |
@@ -65,7 +65,9 @@ function getAppsCallback(data) { |
apps.createWebStoreClosedMenuElement()); |
} |
- if (!(shownSections & MINIMIZED_APPS)) { |
+ if (!data.showLauncher || (shownSections & MINIMIZED_APPS)) { |
+ appsSection.classList.add('disabled'); |
+ } else { |
appsSection.classList.remove('disabled'); |
} |
addClosedMenuFooter(apps.menu, 'apps', MINIMIZED_APPS, Section.APPS); |