also swap logic of setter

This commit is contained in:
Bruno Windels 2019-06-02 18:15:08 +02:00
parent a269f612b6
commit a59014475b

View file

@ -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;
} }
} }