mirror of
https://github.com/flarum/framework.git
synced 2025-05-28 11:05:41 +08:00
Random cleanup
This commit is contained in:
@ -338,7 +338,7 @@ class PostStream extends mixin(Component, evented) {
|
||||
if (start < this.visibleStart || end > this.visibleEnd) return;
|
||||
|
||||
const anchorIndex = backwards ? this.visibleEnd - 1 : this.visibleStart;
|
||||
anchorScroll(`.PostStream-item[data-index=${anchorIndex}]`, () => m.redraw(true));
|
||||
anchorScroll(`.PostStream-item[data-index="${anchorIndex}"]`, () => m.redraw(true));
|
||||
|
||||
this.unpause();
|
||||
};
|
||||
|
Reference in New Issue
Block a user