| Index: chrome/browser/resources/ntp4/recently_closed.js
|
| diff --git a/chrome/browser/resources/ntp4/recently_closed.js b/chrome/browser/resources/ntp4/recently_closed.js
|
| index 2a6f37e9aca41b3b1f2c9a2e61018be3df77444d..b0d26b052c810cd5b58897bb8affb7c3c2eee187 100644
|
| --- a/chrome/browser/resources/ntp4/recently_closed.js
|
| +++ b/chrome/browser/resources/ntp4/recently_closed.js
|
| @@ -36,7 +36,6 @@ cr.define('ntp', function() {
|
| document.body.appendChild(this.menu);
|
|
|
| this.needsRebuild_ = true;
|
| - this.hidden = true;
|
| this.anchorType = cr.ui.AnchorType.ABOVE;
|
| this.invertLeftRight = true;
|
| },
|
| @@ -64,7 +63,7 @@ cr.define('ntp', function() {
|
| set dataItems(dataItems) {
|
| this.dataItems_ = dataItems;
|
| this.needsRebuild_ = true;
|
| - this.hidden = !dataItems.length;
|
| + this.classList.toggle('invisible', !dataItems.length);
|
| },
|
|
|
| /**
|
|
|