forked from mystiq/hydrogen-web
fragment boundary is a gap if backwards(started) & previousToken
This commit is contained in:
parent
e339cb7321
commit
1ed3babfec
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue