fix first reply insertion

v1.18.x
barisusakli 10 years ago
parent 5950f97f96
commit c3a6b11939

@ -123,9 +123,9 @@ define('forum/topic/posts', [
var after, before; var after, before;
if (direction === 1) { if (direction === 1 && repliesSelector.length) {
after = repliesSelector.last(); after = repliesSelector.last();
} else if (direction === -1) { } else if (direction === -1 && repliesSelector.length) {
before = repliesSelector.first(); before = repliesSelector.first();
} }

Loading…
Cancel
Save