summaryrefslogtreecommitdiffstats
path: root/chrome/browser/resources/ntp/apps.js
diff options
context:
space:
mode:
authoraa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-06 23:38:03 +0000
committeraa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-06 23:38:03 +0000
commitade5817eaa3887cb472545d51e7aa844c2c9804d (patch)
tree77070cb677c48d0b9a6c20895c6af4cca37ddc6c /chrome/browser/resources/ntp/apps.js
parente8a6efeedb9762c09413644150f81fc757d1bcab (diff)
downloadchromium_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
Diffstat (limited to 'chrome/browser/resources/ntp/apps.js')
-rw-r--r--chrome/browser/resources/ntp/apps.js2
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