diff --git a/browser/components/preferences/privacy.js b/browser/components/preferences/privacy.js index f40477ae1b1..2315c9a3366 100644 --- a/browser/components/preferences/privacy.js +++ b/browser/components/preferences/privacy.js @@ -43,7 +43,7 @@ var gPrivacyPane = { /** * Sets up the UI for the number of days of history to keep, and updates the - label of the "Clear Now..." button. + * label of the "Clear Now..." button. */ init: function () { @@ -131,8 +131,6 @@ var gPrivacyPane = { pref.value = isNaN(uiValue) ? 0 : uiValue; }, - - /** * Converts the value of the browser.download.manager.retention preference * into a Boolean value. "remove on close" and "don't remember" both map @@ -245,19 +243,19 @@ var gPrivacyPane = { /** * Sets the label of the "Clear Now..." button according to the * privacy.sanitize.promptOnSanitize pref. - */ - updateClearNowButtonLabel: function() - { - var prefBranch = Components.classes["@mozilla.org/preferences-service;1"] - .getService(Components.interfaces.nsIPrefBranch); - var clearNowButton = document.getElementById("clearDataNow"); - if (prefBranch.getBoolPref("privacy.sanitize.promptOnSanitize")) - clearNowButton.label = clearNowButton.getAttribute("label1"); // "Clear Now..." - else - clearNowButton.label = clearNowButton.getAttribute("label2"); // "Clear Now" - }, + */ + updateClearNowButtonLabel: function () + { + var prefBranch = Components.classes["@mozilla.org/preferences-service;1"] + .getService(Components.interfaces.nsIPrefBranch); + var clearNowButton = document.getElementById("clearDataNow"); + if (prefBranch.getBoolPref("privacy.sanitize.promptOnSanitize")) + clearNowButton.label = clearNowButton.getAttribute("label1"); // "Clear Now..." + else + clearNowButton.label = clearNowButton.getAttribute("label2"); // "Clear Now" + }, - /** + /** * Displays the Clear Private Data settings dialog. */ showClearPrivateDataSettings: function ()