mirror of
https://github.com/discourse/discourse.git
synced 2026-08-05 18:57:20 -05: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