Merge pull request #3939 from Snuffleupagus/followup-3850
Fix error in 'PdfStreamConverter.js' that prevents the user from setting a boolean preference to false
This commit is contained in:
commit
48e0deab7b
@ -452,7 +452,7 @@ ChromeActions.prototype = {
|
||||
defaultValue = DEFAULT_PREFERENCES[key];
|
||||
prefName = (PREF_PREFIX + '.' + key);
|
||||
|
||||
if (!prefValue || prefValue === defaultValue) {
|
||||
if (prefValue === undefined || prefValue === defaultValue) {
|
||||
Services.prefs.clearUserPref(prefName);
|
||||
} else {
|
||||
prefType = typeof prefValue;
|
||||
|
Loading…
Reference in New Issue
Block a user