From 6aa0fbbf3647127aa6b3e600dd81e160ff89c95a Mon Sep 17 00:00:00 2001 From: YUKI Hiroshi Date: Thu, 24 Jan 2013 14:52:51 +0900 Subject: [PATCH] Rename conflicting variable: prefs => subTreePrefs --- modules/utils.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/utils.js b/modules/utils.js index 82403cca..a5d1394c 100644 --- a/modules/utils.js +++ b/modules/utils.js @@ -142,7 +142,7 @@ let TreeStyleTabUtils = { prefs.setPref('browser.tabs.loadFolderAndReplace', !!(behavior & TreeStyleTabConstants.kGROUP_BOOKMARK_REPLACE)); } case 4: - let (prefs = [ + let (subTreePrefs = [ 'extensions.treestyletab.autoCollapseExpandSubTreeOnSelect', 'extensions.treestyletab.autoCollapseExpandSubTreeOnSelect.onCurrentTabRemove', 'extensions.treestyletab.autoCollapseExpandSubTreeOnSelect.whileFocusMovingByShortcut', @@ -156,9 +156,9 @@ let TreeStyleTabUtils = { 'extensions.multipletab.show.multipletab-selection-item-removeTabSubTree', 'extensions.multipletab.show.multipletab-selection-item-createSubTree' ]) { - for (let i = 0, maxi = prefs.length; i < maxi; i++) + for (let i = 0, maxi = subTreePrefs.length; i < maxi; i++) { - let pref = prefs[i]; + let pref = subTreePrefs[i]; let value = prefs.getPref(pref); if (value === null) { continue;