Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(468)

Unified Diff: chrome/browser/resources/ntp/apps.js

Issue 3555010: Unminimize app section on app install. (Closed)
Patch Set: Created 10 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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');
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698