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

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

Issue 7067036: Options: Remove the hidden class, since we override the hidden attribute to set (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 7 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/options/browser_options.js
diff --git a/chrome/browser/resources/options/browser_options.js b/chrome/browser/resources/options/browser_options.js
index 8db195c8f64950029b48d06354bbdd5acb5d2f11..871e5206cf07576bd31e58d313a3a2c3169884f8 100644
--- a/chrome/browser/resources/options/browser_options.js
+++ b/chrome/browser/resources/options/browser_options.js
@@ -128,7 +128,7 @@ cr.define('options', function() {
// Check if we are in the guest mode.
if (cr.commandLine.options['--bwsi']) {
// Hide the startup section.
- $('startupSection').classList.add('hidden');
+ $('startupSection').hidden = true;
} else {
// Initialize control enabled states.
Preferences.getInstance().addEventListener('session.restore_on_startup',

Powered by Google App Engine
This is Rietveld 408576698