www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit a0243a24d93e0e57d2428f8b353a8e3b12466bdf
parent d0feaa49cfd5af162c14c5d0829e9063108aeede
Author: Simon Kornblith <simon@simonster.com>
Date:   Thu, 15 Nov 2012 16:06:17 -0500

Fix QuickFormat sizing

Diffstat:
Mchrome/content/zotero/integration/quickFormat.js | 6++----
1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/chrome/content/zotero/integration/quickFormat.js b/chrome/content/zotero/integration/quickFormat.js @@ -757,13 +757,11 @@ var Zotero_QuickFormat = new function () { } if(!referenceHeight && firstReference) { - referenceHeight = firstReference.scrollHeight; - if(firstReference === referenceBox.lastChild) referenceHeight += 1; + referenceHeight = firstReference.scrollHeight + 1; } if(!separatorHeight && firstSeparator) { - separatorHeight = firstSeparator.scrollHeight; - if(firstSeparator === referenceBox.lastChild) separatorHeight += 1; + separatorHeight = firstSeparator.scrollHeight + 1; } if(!panelFrameHeight) {