Revert "Increase the threshhold for triggering collapsing./"

This reverts commit cd1dac8b4726cef82eb2dc957fc7edced298fa9c.

(imported from commit 6ddaad88d3d2b402ef162e5b9a7e450238feb5fd)
This commit is contained in:
Jeff Arnold 2013-04-18 21:45:13 -04:00
parent d02f46fba7
commit 955f1febdf

View File

@ -409,7 +409,7 @@ MessageList.prototype = {
// Instead of showing an expander button, just expand that element instead
// of keeping it collapsed. (This also solves a bug seen on some Mac
// systems where offsetHeight == scrollHeight-1 for no apparent reason).
if (content.offsetHeight + 250 < content.scrollHeight) {
if (content.offsetHeight+50 < content.scrollHeight) {
$(elem).find(".message_expander").show();
} else if (content.offsetHeight < content.scrollHeight) {
$(content).addClass("expanded");