mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: j keyboard shortcut skipping first post in topic.
This commit is contained in:
@@ -291,7 +291,7 @@ export default {
|
||||
index = 0;
|
||||
$articles.each(function() {
|
||||
const top = $(this).position().top;
|
||||
if (top > scrollTop) {
|
||||
if (top >= scrollTop) {
|
||||
return false;
|
||||
}
|
||||
index += 1;
|
||||
|
||||
Reference in New Issue
Block a user