Disable "draw in titlebar" feature for non-popup windows
This commit is contained in:
parent
c91ffcac54
commit
081c0dd34b
@ -180,7 +180,12 @@ TreeStyleTabWindow.prototype = {
|
|||||||
|
|
||||||
get isPopupWindow()
|
get isPopupWindow()
|
||||||
{
|
{
|
||||||
return this.document && this.document.documentElement.getAttribute('chromehidden') != '';
|
return (
|
||||||
|
this.document &&
|
||||||
|
this.document.documentElement.getAttribute('chromehidden') != '' &&
|
||||||
|
!this.window.gBrowser.treeStyleTab.ownerToolbar.boxObject.width &&
|
||||||
|
!this.window.gBrowser.treeStyleTab.ownerToolbar.boxObject.height
|
||||||
|
);
|
||||||
},
|
},
|
||||||
|
|
||||||
/* backward compatibility */
|
/* backward compatibility */
|
||||||
|
Loading…
Reference in New Issue
Block a user