mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 03:25:12 +01:00
fragment boundary is a gap if backwards(started) & previousToken
This commit is contained in:
parent
e339cb7321
commit
1ed3babfec
@ -47,9 +47,9 @@ export default class FragmentBoundaryEntry extends BaseEntry {
|
|||||||
|
|
||||||
get token() {
|
get token() {
|
||||||
if (this.started) {
|
if (this.started) {
|
||||||
return this.fragment.nextToken;
|
|
||||||
} else {
|
|
||||||
return this.fragment.previousToken;
|
return this.fragment.previousToken;
|
||||||
|
} else {
|
||||||
|
return this.fragment.nextToken;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user