Index: chrome/browser/resources/print_preview/common/overlay.js |
diff --git a/chrome/browser/resources/print_preview/common/overlay.js b/chrome/browser/resources/print_preview/common/overlay.js |
index e5f58fadc919e63a5d385d269ce1c9669e799c6b..c918f09dc5f6a449781f25e73e6e2328dc84db22 100644 |
--- a/chrome/browser/resources/print_preview/common/overlay.js |
+++ b/chrome/browser/resources/print_preview/common/overlay.js |
@@ -31,7 +31,7 @@ cr.define('print_preview', function() { |
enterDocument: function() { |
print_preview.Component.prototype.enterDocument.call(this); |
- this.getElement().addEventListener('webkitTransitionEnd', function f(e) { |
+ this.getElement().addEventListener('transitionend', function f(e) { |
if (e.target == e.currentTarget && e.propertyName == 'opacity' && |
e.target.classList.contains('transparent')) { |
setIsVisible(e.target, false); |
@@ -67,7 +67,7 @@ cr.define('print_preview', function() { |
this.getElement(), 'click', this.onOverlayClick_.bind(this)); |
this.tracker.add( |
this.getChildElement('.page'), |
- 'webkitAnimationEnd', |
+ 'animationend', |
this.onAnimationEnd_.bind(this)); |
}, |