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

Unified Diff: ui/login/account_picker/user_pod_row.js

Issue 2130143002: Fixed regression bug regarding pod on public session. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
Patch Set: Created 4 years, 5 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
« no previous file with comments | « ui/login/account_picker/user_pod_row.css ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/login/account_picker/user_pod_row.js
diff --git a/ui/login/account_picker/user_pod_row.js b/ui/login/account_picker/user_pod_row.js
index c258be189f92761f2b8efd3a592195be78f04b0a..6121fd7e9f2d9a4bfc77148fd8041454d98c7cae 100644
--- a/ui/login/account_picker/user_pod_row.js
+++ b/ui/login/account_picker/user_pod_row.js
@@ -843,6 +843,14 @@ cr.define('login', function() {
},
/**
+ * Gets image pane element.
+ * @type {!HTMLDivElement}
+ */
+ get imagePaneElement() {
+ return this.querySelector('.user-image-pane');
+ },
+
+ /**
* Gets image element.
* @type {!HTMLImageElement}
*/
@@ -1129,8 +1137,8 @@ cr.define('login', function() {
},
setPinVisibility: function(visible) {
- var elements = [this, this.authElement, this.imageElement,
- this.signInElement, this.pinContainer];
+ var elements = [this, this.authElement, this.imagePaneElement,
+ this.imageElement, this.pinContainer];
for (var idx = 0; idx < elements.length; idx++) {
var currentElement = elements[idx];
« no previous file with comments | « ui/login/account_picker/user_pod_row.css ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698