remove obsolete codes (for old Minefield)

This commit is contained in:
Piro / SHIMODA Hiroshi 2010-11-02 02:06:53 +09:00
parent 94864cd5ff
commit 877e57352a

View File

@ -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(); $&'