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

Unified Diff: chrome/browser/resources/md_history/side_bar.js

Issue 2042973002: [MD History] Add routing to the synced devices page. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@hide_search_bar
Patch Set: fix nit Created 4 years, 5 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_history/side_bar.js
diff --git a/chrome/browser/resources/md_history/side_bar.js b/chrome/browser/resources/md_history/side_bar.js
index 46cedad31c4a183b359ef3d3c75b611e27964c2d..1195d221193d1d09f909d6215ddc5cf73c24998f 100644
--- a/chrome/browser/resources/md_history/side_bar.js
+++ b/chrome/browser/resources/md_history/side_bar.js
@@ -33,9 +33,11 @@ Polymer({
/**
* Relocates the user to the clear browsing data section of the settings page.
+ * @param {Event} e
* @private
*/
- onClearBrowsingDataTap_: function() {
+ onClearBrowsingDataTap_: function(e) {
md_history.BrowserService.getInstance().openClearBrowsingData();
+ e.preventDefault();
},
});

Powered by Google App Engine
This is Rietveld 408576698