diff --git a/chrome/content/zotero/integration/quickFormat.js b/chrome/content/zotero/integration/quickFormat.js index d91adac63c..1f507d9129 100644 --- a/chrome/content/zotero/integration/quickFormat.js +++ b/chrome/content/zotero/integration/quickFormat.js @@ -106,9 +106,10 @@ var Zotero_QuickFormat = new function () { * Initialize add citation dialog */ this.onLoad = function(event) { - if(event.target !== document) return; + if(event.target !== document) return; // make sure we are visible - window.setTimeout(function() { + window.setTimeout(function() { + if(!Zotero.isFx4) window.sizeToContent(); var screenX = window.screenX; var screenY = window.screenY; var xRange = [window.screen.availLeft, window.screen.width-window.outerWidth]; @@ -687,10 +688,13 @@ var Zotero_QuickFormat = new function () { for(var i=0, n=childNodes.length; i