diff --git a/chrome/content/zotero/overlay.js b/chrome/content/zotero/overlay.js index 2c934b7fb..7ed07ca6a 100644 --- a/chrome/content/zotero/overlay.js +++ b/chrome/content/zotero/overlay.js @@ -245,53 +245,6 @@ var ZoteroOverlay = new function() zoteroPane.height = 0; document.getElementById('content').setAttribute('collapsed', false); - - // turn off full window mode, if it was on - _setFullWindowMode(false); - - // Return focus to the browser content pane - window.content.window.focus(); - } - } - - /** - * Hides or shows navigation toolbars - * @param set {Boolean} Whether navigation toolbars should be hidden or shown - */ - function _setFullWindowMode(set) { - // hide or show navigation toolbars - if(!getNavToolbox) return; - var toolbox = getNavToolbox(); - if(set) { - // the below would be a good thing to do if the whole title bar (and not just the center - // part) got updated when it happened... - /*if(Zotero.isMac) { - titlebarcolorState = document.documentElement.getAttribute("activetitlebarcolor"); - document.documentElement.removeAttribute("activetitlebarcolor"); - }*/ - if(document.title != "Zotero") { - titleState = document.title; - document.title = "Zotero"; - } - - if(!toolbarCollapseState) { - toolbarCollapseState = [node.collapsed for each (node in toolbox.childNodes)]; - for(var i=0; i