mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 11:35:04 +01:00
also swap logic of setter
This commit is contained in:
parent
a269f612b6
commit
a59014475b
@ -55,9 +55,9 @@ export default class FragmentBoundaryEntry extends BaseEntry {
|
|||||||
|
|
||||||
set token(token) {
|
set token(token) {
|
||||||
if (this.started) {
|
if (this.started) {
|
||||||
this.fragment.nextToken = token;
|
|
||||||
} else {
|
|
||||||
this.fragment.previousToken = token;
|
this.fragment.previousToken = token;
|
||||||
|
} else {
|
||||||
|
this.fragment.nextToken = token;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user