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

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

Issue 2165903003: MD History: Show sidebar next to content on wide screens (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@history_fix_footer_link
Patch Set: Add test 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/history.js
diff --git a/chrome/browser/resources/md_history/history.js b/chrome/browser/resources/md_history/history.js
index 8f248b966dfa747c29fc5efed33c3e0c95e7fdc3..90333b85e58c1c000b7ba40a60c21ef9bada9a64 100644
--- a/chrome/browser/resources/md_history/history.js
+++ b/chrome/browser/resources/md_history/history.js
@@ -54,8 +54,8 @@ function showNotification(
// BrowsingHistoryHandler.
var appElem = $('history-app');
waitForUpgrade(appElem).then(function() {
- /** @type {HistoryAppElement} */(appElem)
- .getSideBar().showFooter = includeOtherFormsOfBrowsingHistory;
+ /** @type {HistoryAppElement} */ (appElem).showSidebarFooter =
+ includeOtherFormsOfBrowsingHistory;
});
}

Powered by Google App Engine
This is Rietveld 408576698