From 9408d468f77b7b1393a2d539249490b906d2f429 Mon Sep 17 00:00:00 2001 From: Simon Kornblith Date: Mon, 24 Jan 2011 19:41:44 +0000 Subject: [PATCH] hide browser chrome on zotero apptab --- chrome/content/zotero/overlay.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/chrome/content/zotero/overlay.js b/chrome/content/zotero/overlay.js index 3e6354326c..150e6c15fe 100644 --- a/chrome/content/zotero/overlay.js +++ b/chrome/content/zotero/overlay.js @@ -235,6 +235,11 @@ var ZoteroPane = new function() if(_isStandaloneOrTab) { this.toggleDisplay(true); this.fullScreen(true); + } else { + // Hide browser chrome on Zotero tab + if(Zotero.isFx4) { + XULBrowserWindow.inContentWhitelist.push("chrome://zotero/content/tab.xul"); + } } }