From b0bd2aaebca90b2941d2d0831427c2217c68d8da Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Wed, 14 Feb 2018 22:22:39 -0500 Subject: [PATCH] ok, that's all for today. this was fun. --- webcit-ng/static/js/views.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) { -- 2.30.2