pref-ui: make sanitize sub-dialog resizable

This commit is contained in:
roytam1 2022-02-03 23:25:17 +08:00
commit 223f5ace9a

View file

@ -666,7 +666,7 @@ var gPrivacyPane = {
*/ */
showClearPrivateDataSettings: function () showClearPrivateDataSettings: function ()
{ {
gSubDialog.open("chrome://browser/content/preferences/sanitize.xul", "resizable=no"); gSubDialog.open("chrome://browser/content/preferences/sanitize.xul", "");
}, },
@ -682,7 +682,7 @@ var gPrivacyPane = {
ts.value = 0; ts.value = 0;
} }
gSubDialog.open("chrome://browser/content/sanitize.xul", "resizable=no", null, () => { gSubDialog.open("chrome://browser/content/sanitize.xul", "", null, () => {
// reset the timeSpan pref // reset the timeSpan pref
if (aClearEverything) { if (aClearEverything) {
ts.value = timeSpanOrig; ts.value = timeSpanOrig;