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

Unified Diff: chrome/browser/resources/ntp4/other_sessions.js

Issue 12038090: Layout the NTP footer with flexboxes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: move separator out of webstore link Created 7 years, 10 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
Index: chrome/browser/resources/ntp4/other_sessions.js
diff --git a/chrome/browser/resources/ntp4/other_sessions.js b/chrome/browser/resources/ntp4/other_sessions.js
index ac36b04194effc1388a8e3332aab22437d50c5f5..e4399d88f691975f6b516dfe93623ef0fa0107d7 100644
--- a/chrome/browser/resources/ntp4/other_sessions.js
+++ b/chrome/browser/resources/ntp4/other_sessions.js
@@ -247,7 +247,7 @@ cr.define('ntp', function() {
}
// The menu button is shown iff tab sync is enabled.
- this.hidden = !isTabSyncEnabled;
+ this.classList.toggle('invisible', !isTabSyncEnabled);
},
/**
@@ -259,7 +259,7 @@ cr.define('ntp', function() {
if (signedIn)
chrome.send('getForeignSessions');
else
- this.hidden = true;
+ this.classList.add('invisible');
},
};

Powered by Google App Engine
This is Rietveld 408576698