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

Unified Diff: chrome/browser/resources/options/options.js

Issue 6350005: DOMUI: Polish the navbar-container. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: CSS fixups. Created 9 years, 11 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/browser/resources/options/options_page.css » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/options/options.js
diff --git a/chrome/browser/resources/options/options.js b/chrome/browser/resources/options/options.js
index d1efac5e3453cdb559535e8d583b8e7d52b9c2ad..9ee3f88ec8e5731df074b109736ec198528c95b2 100644
--- a/chrome/browser/resources/options/options.js
+++ b/chrome/browser/resources/options/options.js
@@ -171,6 +171,11 @@ function load() {
document.documentElement.setAttribute('toolkit', 'gtk');
if (cr.isViews)
document.documentElement.setAttribute('toolkit', 'views');
+
+ // Clicking on the Settings title brings up the 'Basics' page.
+ $('settings-title').onclick = function() {
+ OptionsPage.showPageByName(BrowserOptions.getInstance().name);
+ };
}
document.addEventListener('DOMContentLoaded', load);
« no previous file with comments | « no previous file | chrome/browser/resources/options/options_page.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698