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

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

Issue 2558703003: MD History: Fix loading of history results in background tabs (Closed)
Patch Set: Closure Created 4 years 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/md_history/app.vulcanized.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/md_history/list_container.js
diff --git a/chrome/browser/resources/md_history/list_container.js b/chrome/browser/resources/md_history/list_container.js
index 395d3855ef86443028f3c125efc5c3763c68ef11..b6c1ba2170396571dd22206fb1e4374e269a86ab 100644
--- a/chrome/browser/resources/md_history/list_container.js
+++ b/chrome/browser/resources/md_history/list_container.js
@@ -101,7 +101,7 @@ Polymer({
this.queryHistory(false);
},
- /** @return {HTMLElement} */
+ /** @return {Element} */
getContentScrollTarget: function() {
return this.getSelectedList_();
},
@@ -283,10 +283,10 @@ Polymer({
},
/**
- * @return {HTMLElement}
+ * @return {Element}
* @private
*/
- getSelectedList_: function() { return this.$.content.selectedItem; },
+ getSelectedList_: function() { return this.$$('#' + this.selectedPage_); },
/** @private */
canDeleteHistory_: function() {
« no previous file with comments | « chrome/browser/resources/md_history/app.vulcanized.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698