projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3da35ea
)
ok, that's all for today. this was fun.
author
Art Cancro
<ajc@citadel.org>
Thu, 15 Feb 2018 03:22:39 +0000
(22:22 -0500)
committer
Art Cancro
<ajc@citadel.org>
Thu, 15 Feb 2018 03:22:39 +0000
(22:22 -0500)
webcit-ng/static/js/views.js
patch
|
blob
|
history
diff --git
a/webcit-ng/static/js/views.js
b/webcit-ng/static/js/views.js
index 171fdf93576dc4b3fe54d5c336db5249ef0b6121..5b3c47881fefffa8a2ff0e80d58434f0b6a529e3 100644
(file)
--- 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)
{