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

Unified Diff: chrome/browser/resources/help/help_page.js

Issue 672073002: help: add important animation to Chrome logo. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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
« no previous file with comments | « chrome/browser/resources/help/help_content.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 4140cd935aa0a721192a6e5c0787d34cc5f0d78c..6a508b4a8a7ea7edbf0d125ce68a7e90726e67ba 100644
--- a/chrome/browser/resources/help/help_page.js
+++ b/chrome/browser/resources/help/help_page.js
@@ -157,6 +157,12 @@ cr.define('help', function() {
};
}
+ var logo = $('product-logo');
+ logo.onclick = function(e) {
+ logo.classList.remove('spin');
+ setTimeout(function() { logo.classList.add('spin'); });
+ };
+
// Attempt to update.
chrome.send('onPageLoaded');
},
« no previous file with comments | « chrome/browser/resources/help/help_content.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698