Fix QuickFormat sizing

This commit is contained in:
Simon Kornblith 2012-11-15 16:06:17 -05:00
parent d0feaa49cf
commit a0243a24d9

View File

@ -757,13 +757,11 @@ var Zotero_QuickFormat = new function () {
} }
if(!referenceHeight && firstReference) { if(!referenceHeight && firstReference) {
referenceHeight = firstReference.scrollHeight; referenceHeight = firstReference.scrollHeight + 1;
if(firstReference === referenceBox.lastChild) referenceHeight += 1;
} }
if(!separatorHeight && firstSeparator) { if(!separatorHeight && firstSeparator) {
separatorHeight = firstSeparator.scrollHeight; separatorHeight = firstSeparator.scrollHeight + 1;
if(firstSeparator === referenceBox.lastChild) separatorHeight += 1;
} }
if(!panelFrameHeight) { if(!panelFrameHeight) {