summaryrefslogtreecommitdiffstats
path: root/chrome/browser/resources/options/autofill_options.js
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/resources/options/autofill_options.js')
-rw-r--r--chrome/browser/resources/options/autofill_options.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/chrome/browser/resources/options/autofill_options.js b/chrome/browser/resources/options/autofill_options.js
index 49ce81f..ce9775d 100644
--- a/chrome/browser/resources/options/autofill_options.js
+++ b/chrome/browser/resources/options/autofill_options.js
@@ -89,8 +89,10 @@ cr.define('options', function() {
return true; // Always follow the href
};
- $('autofill-wallet-card-area').hidden =
- !loadTimeData.getBoolean('enableAutofillWalletIntegration');
+ var enableWalletIntegration =
+ loadTimeData.getBoolean('enableAutofillWalletIntegration');
+ $('autofill-wallet-remask-cards-area').hidden = !enableWalletIntegration;
+ $('autofill-wallet-setting-area').hidden = !enableWalletIntegration;
// TODO(estade): there should probably be some indication of success.
$('remask-server-cards-link').onclick = function(event) {
chrome.send('remaskServerCards');