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 205aaac0ff4bff04f04e842bb37c5d82d67a61ff..c52ccfa36948317df4a453d3197ba3dc7e0dd191 100644 |
--- a/ui/login/account_picker/user_pod_row.js |
+++ b/ui/login/account_picker/user_pod_row.js |
@@ -2034,8 +2034,8 @@ cr.define('login', function() { |
var self = this; |
this.classList.add('animating'); |
- this.addEventListener('webkitTransitionEnd', function f(e) { |
- self.removeEventListener('webkitTransitionEnd', f); |
+ this.addEventListener('transitionend', function f(e) { |
+ self.removeEventListener('transitionend', f); |
self.classList.remove('animating'); |
// Accessibility focus indicator does not move with the focused |
@@ -2248,9 +2248,9 @@ cr.define('login', function() { |
setTimeout(function() { |
pod.classList.add('advanced'); |
pod.makeSpaceForExpandedPod_(); |
- languageAndInputSection.addEventListener('webkitTransitionEnd', |
+ languageAndInputSection.addEventListener('transitionend', |
function observer() { |
- languageAndInputSection.removeEventListener('webkitTransitionEnd', |
+ languageAndInputSection.removeEventListener('transitionend', |
observer); |
pod.classList.remove('transitioning-to-advanced'); |
pod.querySelector('.language-select').focus(); |
@@ -3666,8 +3666,8 @@ cr.define('login', function() { |
if (focusedPod) { |
var screen = this.parentNode; |
var self = this; |
- focusedPod.addEventListener('webkitTransitionEnd', function f(e) { |
- focusedPod.removeEventListener('webkitTransitionEnd', f); |
+ focusedPod.addEventListener('transitionend', function f(e) { |
+ focusedPod.removeEventListener('transitionend', f); |
focusedPod.reset(true); |
// Notify screen that it is ready. |
screen.onShow(); |