hide browser chrome on zotero apptab
This commit is contained in:
parent
1a3d616c2d
commit
9408d468f7
1 changed files with 5 additions and 0 deletions
|
@ -235,6 +235,11 @@ var ZoteroPane = new function()
|
||||||
if(_isStandaloneOrTab) {
|
if(_isStandaloneOrTab) {
|
||||||
this.toggleDisplay(true);
|
this.toggleDisplay(true);
|
||||||
this.fullScreen(true);
|
this.fullScreen(true);
|
||||||
|
} else {
|
||||||
|
// Hide browser chrome on Zotero tab
|
||||||
|
if(Zotero.isFx4) {
|
||||||
|
XULBrowserWindow.inContentWhitelist.push("chrome://zotero/content/tab.xul");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue