mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-19 14:13:34 +01:00
Changeset: Only pass strings to parseNum()
This commit is contained in:
parent
7ec0d5f385
commit
18a6b7279c
1 changed files with 1 additions and 1 deletions
|
@ -158,7 +158,7 @@ exports.opIterator = (opsStr) => {
|
|||
const op = optOp || exports.newOp();
|
||||
if (regexResult[0]) {
|
||||
op.attribs = regexResult[1];
|
||||
op.lines = exports.parseNum(regexResult[2] || 0);
|
||||
op.lines = exports.parseNum(regexResult[2] || '0');
|
||||
op.opcode = regexResult[3];
|
||||
op.chars = exports.parseNum(regexResult[4]);
|
||||
regexResult = nextRegexMatch();
|
||||
|
|
Loading…
Reference in a new issue