From 3811bcc02515461dd71d45b793a0bccfabd7d552 Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Thu, 18 Apr 2013 15:39:45 -0400 Subject: [PATCH] Increase the threshhold for triggering collapsing./ (imported from commit cd1dac8b4726cef82eb2dc957fc7edced298fa9c) --- zephyr/static/js/message_list.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zephyr/static/js/message_list.js b/zephyr/static/js/message_list.js index 1881134ab1..56514ddeaf 100644 --- a/zephyr/static/js/message_list.js +++ b/zephyr/static/js/message_list.js @@ -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+50 < content.scrollHeight) { + if (content.offsetHeight + 250 < content.scrollHeight) { $(elem).find(".message_expander").show(); } else if (content.offsetHeight < content.scrollHeight) { $(content).addClass("expanded");