mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 23:58:31 -05:00
FIX: j
keyboard shortcut skipping first post in topic.
This commit is contained in:
parent
f0653563ee
commit
39c3f06379
1 changed files with 1 additions and 1 deletions
|
@ -291,7 +291,7 @@ export default {
|
||||||
index = 0;
|
index = 0;
|
||||||
$articles.each(function() {
|
$articles.each(function() {
|
||||||
const top = $(this).position().top;
|
const top = $(this).position().top;
|
||||||
if (top > scrollTop) {
|
if (top >= scrollTop) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
index += 1;
|
index += 1;
|
||||||
|
|
Loading…
Reference in a new issue