Chromium Code Reviews| Index: chrome/browser/resources/chromeos/login/lock.js |
| diff --git a/chrome/browser/resources/chromeos/login/lock.js b/chrome/browser/resources/chromeos/login/lock.js |
| index c1147ef2121f47d0d16ee7cb063a2b1722b1f506..fa5ab159901d1dd55e9cdc91e42d3b353f1a4a44 100644 |
| --- a/chrome/browser/resources/chromeos/login/lock.js |
| +++ b/chrome/browser/resources/chromeos/login/lock.js |
| @@ -20,7 +20,18 @@ |
| // Called after polymer has been loaded. Fades the pin element in. |
| var onPinLoaded = function(pinContainer) { |
| - pinContainer.style.opacity = 1; |
| + setTimeout(function() { |
| + pinContainer.style.opacity = 1; |
| + var element1 = $('account-picker'); |
|
jdufault
2016/05/31 19:24:51
Why is this in a setTimeout? onPinLoaded is gettin
sammiequon
2016/06/14 22:22:21
Done.
|
| + element1.style.height = '600px'; |
| + element1.style.width = '250px'; |
| + var element2 = $('inner-container'); |
| + element2.style.height = '600px'; |
| + element2.style.width = '250px'; |
| + var element3 = document.getElementsByClassName('user-image-pane'); |
| + element3[0].style.height = '230px'; |
| + element3[0].style.width = '230px'; |
| + }, 1000); |
| }; |
| // We only load the PIN element when it is actually shown so that lock screen |