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 9d62bd1f8ff40944de64f6c00b6525b956b15270..4d2be3ff45dc2995292ddfc2248e4e1b171f223c 100644 |
--- a/chrome/browser/resources/options/browser_options.js |
+++ b/chrome/browser/resources/options/browser_options.js |
@@ -282,6 +282,13 @@ cr.define('options', function() { |
[String(event.target.checked)]); |
}; |
} |
+ $('do-not-track-enabled').customChangeHandler = function(event) { |
+ if (this.checked) { |
+ OptionsPage.showPageByName('doNotTrackConfirm', false); |
+ return true; |
+ } |
+ return false; |
+ }; |
// Bluetooth (CrOS only). |
if (cr.isChromeOS) { |