Index: chrome/browser/resources/help/help_page.js |
diff --git a/chrome/browser/resources/help/help_page.js b/chrome/browser/resources/help/help_page.js |
index 9382a6864377363b90b341521b31dd36c35d14fe..5053ff20ba111da301b7eaa36747275d4793effe 100644 |
--- a/chrome/browser/resources/help/help_page.js |
+++ b/chrome/browser/resources/help/help_page.js |
@@ -197,10 +197,12 @@ cr.define('help', function() { |
var logo = $('product-logo'); |
logo.onclick = function(e) { |
- logo.classList.remove('spin'); |
- // Force a style recalc that cancels the animation specified by "spin". |
- getComputedStyle(logo).getPropertyValue('animation-name'); |
- logo.classList.add('spin'); |
+ logo.animate({ |
+ transform: ['none', 'rotate(-10turn)'], |
+ }, /** @type {!KeyframeEffectOptions} */({ |
+ duration: 500, |
+ easing: 'cubic-bezier(1, 0, 0, 1)', |
+ })); |
}; |
// Attempt to update. |