diff --git a/modules/utils.js b/modules/utils.js index 51c05e0a..8c8c026c 100644 --- a/modules/utils.js +++ b/modules/utils.js @@ -225,7 +225,7 @@ var TreeStyleTabUtils = { { prefs.clearPref('browser.tabs.insertRelatedAfterCurrent'); let backupValue = prefs.getPref('browser.tabs.insertRelatedAfterCurrent.backup'); - if (backupValue === null) + if (backupValue !== null) prefs.setPref('browser.tabs.insertRelatedAfterCurrent', backupValue); } default: