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

Unified Diff: chrome/browser/resources/chromeos/first_run/first_run.js

Issue 2691883002: Uprefix CSS transitions in ui/ and chrome/ styles (Closed)
Patch Set: transitions only Created 3 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/chromeos/first_run/first_run.js
diff --git a/chrome/browser/resources/chromeos/first_run/first_run.js b/chrome/browser/resources/chromeos/first_run/first_run.js
index 593a019940b3e695927a516de69994d7fb8319a3..e22c495f65705b0a97145254b5a78fbd9b9e7cf4 100644
--- a/chrome/browser/resources/chromeos/first_run/first_run.js
+++ b/chrome/browser/resources/chromeos/first_run/first_run.js
@@ -37,8 +37,8 @@ function changeVisibility(
var transition = visible ? 'show-animated' : 'hide-animated';
classes.add(transition);
classes.toggle('transparent');
- element.addEventListener('webkitTransitionEnd', function f() {
- element.removeEventListener('webkitTransitionEnd', f);
+ element.addEventListener('transitionend', function f() {
+ element.removeEventListener('transitionend', f);
classes.remove(transition);
if (oldDurationValue)
style.setProperty('transition-duration', oldDurationValue);

Powered by Google App Engine
This is Rietveld 408576698