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

Unified Diff: chrome/browser/resources/md_user_manager/user_manager.js

Issue 1725563003: MD user manager (learn more page, user manager tutorial) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 10 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
Index: chrome/browser/resources/md_user_manager/user_manager.js
diff --git a/chrome/browser/resources/md_user_manager/user_manager.js b/chrome/browser/resources/md_user_manager/user_manager.js
index 30bdc5942cdc33c2eaf54f0d56d30e2a63616aaf..52bd8e2d92ee658a23f9764ad98bab7c0690f0c8 100644
--- a/chrome/browser/resources/md_user_manager/user_manager.js
+++ b/chrome/browser/resources/md_user_manager/user_manager.js
@@ -57,7 +57,8 @@ cr.define('cr.ui', function() {
// make sense when displayed as a widget.
document.addEventListener('contextmenu', function(e) {e.preventDefault();});
- // TODO(mahmadi): start the tutorial if the location hash is #tutorial.
+ if (window.location.hash == '#tutorial')
+ document.querySelector('user-manager-tutorial').startTutorial();
};
/**

Powered by Google App Engine
This is Rietveld 408576698