Index: chrome/browser/resources/options/browser_options.js |
diff --git a/chrome/browser/resources/options/browser_options.js b/chrome/browser/resources/options/browser_options.js |
index 03244296944844c4ef295a14649551696a647951..92d5a88f2eb6a9d9ffd8aac50477569b933c95c7 100644 |
--- a/chrome/browser/resources/options/browser_options.js |
+++ b/chrome/browser/resources/options/browser_options.js |
@@ -195,7 +195,7 @@ cr.define('options', function() { |
$('advanced-settings').hidden = true; |
} |
- $('advanced-settings').addEventListener('webkitTransitionEnd', |
+ $('advanced-settings').addEventListener('transitionend', |
this.updateAdvancedSettingsExpander_.bind(this)); |
if (loadTimeData.valueExists('aboutOverlayTabTitle')) { |
@@ -937,7 +937,7 @@ cr.define('options', function() { |
// If the section is already animating, dispatch a synthetic transition |
// end event as the upcoming code will cancel the current one. |
if (section.classList.contains('sliding')) |
- cr.dispatchSimpleEvent(section, 'webkitTransitionEnd'); |
+ cr.dispatchSimpleEvent(section, 'transitionend'); |
this.addTransitionEndListener_(section); |
@@ -1061,7 +1061,7 @@ cr.define('options', function() { |
}, |
/** |
- * Adds a |webkitTransitionEnd| listener to the given section so that |
+ * Adds a |transitionend| listener to the given section so that |
* it can be animated. The listener will only be added to a given section |
* once, so this can be called as multiple times. |
* @param {HTMLElement} section The section to be animated. |
@@ -1071,14 +1071,14 @@ cr.define('options', function() { |
if (section.hasTransitionEndListener_) |
return; |
- section.addEventListener('webkitTransitionEnd', |
+ section.addEventListener('transitionend', |
this.onTransitionEnd_.bind(this)); |
section.hasTransitionEndListener_ = true; |
}, |
/** |
* Called after an animation transition has ended. |
- * @param {Event} event The webkitTransitionEnd event. NOTE: May be |
+ * @param {Event} event The transitionend event. NOTE: May be |
* synthetic. |
* @private |
*/ |