From 97e1ae2eb99f549100a0121b63a570ac98782e92 Mon Sep 17 00:00:00 2001 From: YUKI Hiroshi Date: Tue, 19 Jan 2016 18:55:31 +0900 Subject: [PATCH] Restore backuped preference correctly --- modules/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: