From 78259db2f052a62c7c15ce9dd998993f6aaac08d Mon Sep 17 00:00:00 2001 From: YUKI Hiroshi Date: Fri, 9 Sep 2016 18:22:46 +0900 Subject: [PATCH] Fix typo --- content/treestyletab/windowHelperHacks.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/treestyletab/windowHelperHacks.js b/content/treestyletab/windowHelperHacks.js index f8c971a7..81acba98 100644 --- a/content/treestyletab/windowHelperHacks.js +++ b/content/treestyletab/windowHelperHacks.js @@ -245,7 +245,7 @@ TreeStyleTabWindowHelper.overrideExtensionsAfterBrowserInit = function TSTWH_ove // Focus Last Selected Tab 0.9.5.x // http://www.gozer.org/mozilla/extensions/ if (TreeStyleTabUtils.getTreePref('compatibility.FocusLastSelectedTab')) { - AddonManager.getAddonById('focuslastselectedtab@gozer.org', function(aAddon) { + AddonManager.getAddonByID('focuslastselectedtab@gozer.org', function(aAddon) { if (aAddon && aAddon.isAvailable) TreeStyleTabService.registerTabFocusAllowance(function(aTabBrowser) { return !aTabBrowser.selectedTab.hasAttribute('lastselected'); @@ -445,7 +445,7 @@ TreeStyleTabWindowHelper.overrideExtensionsAfterBrowserInit = function TSTWH_ove // Remove New Tab Button // https://addons.mozilla.org/firefox/addon/remove-new-tab-button/ if (TreeStyleTabUtils.getTreePref('compatibility.RemoveNewTabButton')) { - AddonManager.getAddonById('remove-new-tab-button@forerunnerdesigns.com', function(aAddon) { + AddonManager.getAddonByID('remove-new-tab-button@forerunnerdesigns.com', function(aAddon) { if (aAddon && aAddon.isAvailable) document.documentElement.setAttribute(TreeStyleTabService.kHIDE_NEWTAB, true); });