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

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

Issue 8400044: Associate the instant label text with a specific checkbox. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 2 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 | « chrome/browser/resources/options/browser_options.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/options/browser_options.js
diff --git a/chrome/browser/resources/options/browser_options.js b/chrome/browser/resources/options/browser_options.js
index 2f0db8a8aec20425899a52831e005c43296838ce..4fe383d9712ff86a4a47ec3b23fa9d33599e6f7b 100644
--- a/chrome/browser/resources/options/browser_options.js
+++ b/chrome/browser/resources/options/browser_options.js
@@ -171,6 +171,8 @@ cr.define('options', function() {
setInstantFieldTrialStatus_: function(enabled) {
$('instantEnabledCheckbox').hidden = enabled;
$('instantFieldTrialCheckbox').hidden = !enabled;
+ $('instantLabel').htmlFor = enabled ? 'instantFieldTrialCheckbox'
+ : 'instantEnabledCheckbox';
},
/**
« no previous file with comments | « chrome/browser/resources/options/browser_options.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698