From 877e57352a1ccfd1eaa22997fd7b82d750fd8953 Mon Sep 17 00:00:00 2001 From: Piro / SHIMODA Hiroshi Date: Tue, 2 Nov 2010 02:06:53 +0900 Subject: [PATCH] remove obsolete codes (for old Minefield) --- content/treestyletab/treestyletab.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/content/treestyletab/treestyletab.js b/content/treestyletab/treestyletab.js index 3a48d1c3..48206fbe 100644 --- a/content/treestyletab/treestyletab.js +++ b/content/treestyletab/treestyletab.js @@ -1207,16 +1207,13 @@ catch(e) { // Firefox 3 full screen eval('FullScreen._animateUp = '+ FullScreen._animateUp.toSource().replace( + // Firefox 3.6 or older /(gBrowser\.mStrip\.boxObject\.height)/, '((gBrowser.treeStyleTab.currentTabbarPosition != "top") ? 0 : $1)' ) ); eval('FullScreen.mouseoverToggle = '+ FullScreen.mouseoverToggle.toSource().replace( - // Firefox 4.0 or later - 'allFSToolbars[i].setAttribute("moz-collapsed", !aShow);', - 'if (allFSToolbars[i].id != "TabsToolbar" || gBrowser.treeStyleTab.currentTabbarPosition == "top") { $& }' - ).replace( // Firefox 4.0 or later 'this._isChromeCollapsed = !aShow;', 'gBrowser.treeStyleTab.updateFloatingTabbar(); $&'