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

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

Issue 2420583003: [MD History] Disable clicks in the date header of cards. (Closed)
Patch Set: Created 4 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
Index: chrome/browser/resources/md_history/history_item.js
diff --git a/chrome/browser/resources/md_history/history_item.js b/chrome/browser/resources/md_history/history_item.js
index e312a796c19541d489a2b396674397eb7ae03913..1ec5a01f649f88d36847a25daa40d77b3a9a40bb 100644
--- a/chrome/browser/resources/md_history/history_item.js
+++ b/chrome/browser/resources/md_history/history_item.js
@@ -193,6 +193,14 @@ cr.define('md_history', function() {
},
/**
+ * @param {MouseEvent} e
+ * @private
+ */
+ onTitleMousedown_: function(e) {
+ e.preventDefault();
+ },
+
+ /**
* @private
* @return {string}
*/

Powered by Google App Engine
This is Rietveld 408576698