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) {
if (this.started) {
this.fragment.nextToken = token;
} else {
this.fragment.previousToken = token;
} else {
this.fragment.nextToken = token;
}
}