move misplaced parenthesis
This commit is contained in:
parent
ec90480f84
commit
fee3e075f8
1 changed files with 1 additions and 1 deletions
|
|
@ -141,7 +141,7 @@
|
||||||
});
|
});
|
||||||
const cur = this.current;
|
const cur = this.current;
|
||||||
const color = opts.color ?
|
const color = opts.color ?
|
||||||
(typeof(opts.color === 'number') ? { line: opts.color, face: opts.color } : opts.color) :
|
(typeof(opts.color) === 'number' ? { line: opts.color, face: opts.color } : opts.color) :
|
||||||
cur.color;
|
cur.color;
|
||||||
if (!cur.cface) {
|
if (!cur.cface) {
|
||||||
cur.cface = [ Object.assign({ start: faceidx, count: Infinity }, color) ];
|
cur.cface = [ Object.assign({ start: faceidx, count: Infinity }, color) ];
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue