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

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

Issue 2535573002: Reduce usage of webkit CSS prefixes in chrome/browser/resources (Closed)
Patch Set: CSSOM Created 4 years 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 691ae3173756160cae572a790bfd7710619336af..e7aafecef46eeec75df78dee9a0ff1c256fcbc51 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