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) {
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) {