mirror of https://github.com/xwiki-labs/cryptpad
Fix syntax error
This commit is contained in:
parent
0d69620687
commit
5cb266838a
|
@ -236,7 +236,7 @@ Meta.createLineHandler = function (ref, errorHandler) {
|
|||
// which has since been archived.
|
||||
// Thus, accept both the first and second lines you process as valid initial state
|
||||
// preferring the second if it exists
|
||||
if (index < 2 && line typeof(line) === 'object') {
|
||||
if (index < 2 && line && typeof(line) === 'object') {
|
||||
// special case!
|
||||
ref.meta = line;
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue