Skip to content
Snippets Groups Projects
Commit c5f76a98 authored by echicken's avatar echicken
Browse files

Fix the fix. :|

parent c66c7593
No related branches found
No related tags found
No related merge requests found
...@@ -369,7 +369,7 @@ function getMessageThreads(sub, max) { ...@@ -369,7 +369,7 @@ function getMessageThreads(sub, max) {
msgBase.open(); msgBase.open();
if(!msgBase.is_open) if(!msgBase.is_open)
return false; return false;
if(max === undefined || msgBase.last_msg - max < msgBase.first_msg) if(max === undefined || max == 0 || msgBase.last_msg - max < msgBase.first_msg)
max = msgBase.first_msg; max = msgBase.first_msg;
else else
max = msgBase.last_msg - max; max = msgBase.last_msg - max;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment