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/app.js

Issue 2720903003: MD History: Fix menu promo not hiding when menu button is clicked (Closed)
Patch Set: Created 3 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
« no previous file with comments | « no previous file | chrome/test/data/webui/md_history/history_toolbar_test.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/md_history/app.js
diff --git a/chrome/browser/resources/md_history/app.js b/chrome/browser/resources/md_history/app.js
index e13e57a31efc2a4cc4e904c4035e0db279c0ad7c..058bd546e3777eea54e8ad2e7568e1fa77151922 100644
--- a/chrome/browser/resources/md_history/app.js
+++ b/chrome/browser/resources/md_history/app.js
@@ -88,7 +88,6 @@ Polymer({
'history-checkbox-select': 'checkboxSelected',
'history-close-drawer': 'closeDrawer_',
'history-view-changed': 'historyViewChanged_',
- 'opened-changed': 'onOpenedChanged_',
'unselect-all': 'unselectAll',
},
@@ -158,15 +157,7 @@ Polymer({
var drawer = /** @type {!CrDrawerElement} */ (this.$.drawer.get());
drawer.align = document.documentElement.dir == 'ltr' ? 'left' : 'right';
drawer.toggle();
- },
-
- /**
- * @param {!CustomEvent} e
- * @private
- */
- onOpenedChanged_: function(e) {
- if (e.detail.value)
- this.showMenuPromo_ = false;
+ this.showMenuPromo_ = false;
},
/**
« no previous file with comments | « no previous file | chrome/test/data/webui/md_history/history_toolbar_test.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698