mirror of
https://github.com/flarum/framework.git
synced 2025-01-19 18:12:59 +08:00
Speed up committing of scroll position in URL/marking as read
This commit is contained in:
parent
f6f254a167
commit
93b865efd1
|
@ -248,7 +248,7 @@ class PostStream extends mixin(Component, evented) {
|
|||
}
|
||||
|
||||
clearTimeout(this.calculatePositionTimeout);
|
||||
this.calculatePositionTimeout = setTimeout(this.calculatePosition.bind(this), 500);
|
||||
this.calculatePositionTimeout = setTimeout(this.calculatePosition.bind(this), 100);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue
Block a user