From a22c9c5e1504f3b89e927ce1ce73bc8340b7ebc6 Mon Sep 17 00:00:00 2001 From: YUKI Hiroshi Date: Fri, 26 Aug 2016 16:54:51 +0900 Subject: [PATCH] Delete codes for obsolete Nav Bar on Title Bar addon. It has been removed from AMO by its author. --- defaults/preferences/treestyletab.js | 1 - modules/window.js | 1 - 2 files changed, 2 deletions(-) diff --git a/defaults/preferences/treestyletab.js b/defaults/preferences/treestyletab.js index 44887880..92f0213f 100644 --- a/defaults/preferences/treestyletab.js +++ b/defaults/preferences/treestyletab.js @@ -705,7 +705,6 @@ pref("extensions.treestyletab.compatibility.Locationbar2", true); pref("extensions.treestyletab.compatibility.MouseGesturesRedox", true); pref("extensions.treestyletab.compatibility.MouselessBrowsing", true); pref("extensions.treestyletab.compatibility.MultiLinks", true); -pref("extensions.treestyletab.compatibility.NavbarOnTitlebar", true); pref("extensions.treestyletab.compatibility.OptimozTweaks", true); pref("extensions.treestyletab.compatibility.PermaTabs", true); pref("extensions.treestyletab.compatibility.PersonalTitlebar", true); diff --git a/modules/window.js b/modules/window.js index 8c601985..9641761a 100644 --- a/modules/window.js +++ b/modules/window.js @@ -1291,7 +1291,6 @@ TreeStyleTabWindow.prototype = inherit(TreeStyleTabBase, { ); if ( (this.window.TabsOnBottom && utils.getTreePref('compatibility.TabsOnBottom')) || - ('navbarontop' in this.window && utils.getTreePref('compatibility.NavbarOnTitlebar')) || ('classicthemerestorerjs' in this.window && utils.getTreePref('compatibility.ClassicThemeRestorer')) ) allowed = true;