remove obsolete codes (for old Minefield)
This commit is contained in:
parent
94864cd5ff
commit
877e57352a
@ -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(); $&'
|
||||
|
Loading…
Reference in New Issue
Block a user