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]; |