diff options
author | aa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-06 23:38:03 +0000 |
---|---|---|
committer | aa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-06 23:38:03 +0000 |
commit | ade5817eaa3887cb472545d51e7aa844c2c9804d (patch) | |
tree | 77070cb677c48d0b9a6c20895c6af4cca37ddc6c | |
parent | e8a6efeedb9762c09413644150f81fc757d1bcab (diff) | |
download | chromium_src-ade5817eaa3887cb472545d51e7aa844c2c9804d.zip chromium_src-ade5817eaa3887cb472545d51e7aa844c2c9804d.tar.gz chromium_src-ade5817eaa3887cb472545d51e7aa844c2c9804d.tar.bz2 |
Relayout NTP after apps section loads, even if zero apps installed.
BUG=68792
TEST=See bug.
Review URL: http://codereview.chromium.org/6070012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70683 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | chrome/browser/resources/ntp/apps.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/resources/ntp/apps.js b/chrome/browser/resources/ntp/apps.js index b474f199..973dada 100644 --- a/chrome/browser/resources/ntp/apps.js +++ b/chrome/browser/resources/ntp/apps.js @@ -81,7 +81,7 @@ function getAppsCallback(data) { $('apps-promo-link').setAttribute('ping', appsPromoPing); maybeDoneLoading(); - if (data.apps.length > 0 && isDoneLoading()) { + if (isDoneLoading()) { if (!apps.showPromo && data.apps.length >= MAX_APPS_PER_ROW[layoutMode]) webStoreEntry.classList.add('loner'); else |