From: Art Cancro Date: Thu, 15 Feb 2018 03:22:39 +0000 (-0500) Subject: ok, that's all for today. this was fun. X-Git-Tag: v939~410 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=b0bd2aaebca90b2941d2d0831427c2217c68d8da ok, that's all for today. this was fun. --- diff --git a/webcit-ng/static/js/views.js b/webcit-ng/static/js/views.js index 171fdf935..5b3c47881 100644 --- a/webcit-ng/static/js/views.js +++ b/webcit-ng/static/js/views.js @@ -82,8 +82,8 @@ function forum_readmessages(target_div, gt_msg, lt_msg) msgs = msgs.slice(0, messages_per_page); } - // show us the last 20 messages and scroll to the bottom (this will become the not-logged-in behavior) - else if ((logged_in) | (!logged_in) | (lt_msg < 9999999999)) + // Otherwise, show us the last 20 messages + else { if (msgs.length > messages_per_page) {