Index: chrome/browser/resources/ntp/apps.js |
diff --git a/chrome/browser/resources/ntp/apps.js b/chrome/browser/resources/ntp/apps.js |
index 70018aa7e1eebbae0a895757881b059dd749415b..7c55c982dedc07e0e5b221f3ea1c11b876b959fd 100644 |
--- a/chrome/browser/resources/ntp/apps.js |
+++ b/chrome/browser/resources/ntp/apps.js |
@@ -228,8 +228,12 @@ var apps = (function() { |
document.documentElement.setAttribute("install-animation-enabled", |
"false"); |
}); |
- if ($('apps').classList.contains('hidden') && |
- !(shownSections & MINIMIZED_APPS)) |
+ |
+ // Make sure apps is de-minimized... |
+ setSectionVisible('apps', Section.APPS, true, MINIMIZED_APPS); |
+ |
+ // ...and expanded. |
+ if ($('apps').classList.contains('hidden')) |
toggleSectionVisibilityAndAnimate('APPS'); |
} |