diff options
author | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-04 17:55:49 +0000 |
---|---|---|
committer | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-04 17:55:49 +0000 |
commit | d2dd3919acdac4dda3116d9a5a596c1130b5da07 (patch) | |
tree | d89c5c9b588bbf1b6e097e8281ff13406e489744 /chrome/browser/resources/ntp/apps.js | |
parent | 12fbb48496e83be7bc754b90147aa6b9e68082cc (diff) | |
download | chromium_src-d2dd3919acdac4dda3116d9a5a596c1130b5da07.zip chromium_src-d2dd3919acdac4dda3116d9a5a596c1130b5da07.tar.gz chromium_src-d2dd3919acdac4dda3116d9a5a596c1130b5da07.tar.bz2 |
Unminimize app section on app install.
BUG=55148
TEST=Minimize apps section. Install an app. Apps section should no longer be minimized.
Review URL: http://codereview.chromium.org/3555010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61388 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/resources/ntp/apps.js')
-rw-r--r-- | chrome/browser/resources/ntp/apps.js | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/chrome/browser/resources/ntp/apps.js b/chrome/browser/resources/ntp/apps.js index 70018aa..7c55c98 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'); } |