Index: chrome/browser/resources/ntp/apps.js |
=================================================================== |
--- chrome/browser/resources/ntp/apps.js (revision 71005) |
+++ chrome/browser/resources/ntp/apps.js (working copy) |
@@ -65,7 +65,9 @@ |
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); |