Show fullscreen window control (closebox, etc.) in the navigation bar when TST is activated. #613
This commit is contained in:
parent
8a4a8a996f
commit
dce660e49d
@ -303,6 +303,13 @@ var TreeStyleTabWindowHelper = {
|
|||||||
'{ gBrowser.treeStyleTab.onBeforeFullScreenToggle(); '
|
'{ gBrowser.treeStyleTab.onBeforeFullScreenToggle(); '
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
// for Firefox 28 (29) and later
|
||||||
|
eval('FullScreen.showXULChrome = '+
|
||||||
|
FullScreen.showXULChrome.toSource().replace(
|
||||||
|
'var ctlsOnTabbar = window.toolbar.visible;',
|
||||||
|
'var ctlsOnTabbar = window.toolbar.visible && gBrowser.treeStyleTab.position == "top" && gBrowser.treeStyleTab.fixed;'
|
||||||
|
)
|
||||||
|
);
|
||||||
|
|
||||||
if ('PrintUtils' in window) {
|
if ('PrintUtils' in window) {
|
||||||
eval('PrintUtils.printPreview = '+PrintUtils.printPreview.toSource().replace(
|
eval('PrintUtils.printPreview = '+PrintUtils.printPreview.toSource().replace(
|
||||||
|
Loading…
Reference in New Issue
Block a user