diff --git a/edit/edit.js b/edit/edit.js index dbd873fd..bbad11d0 100644 --- a/edit/edit.js +++ b/edit/edit.js @@ -1610,7 +1610,7 @@ function fromMozillaFormat() { makeSectionVisible(firstAddedCM); firstAddedCM.focus(); - if (errors) { + if (errors.length) { showHelp(t('issues'), $element({ tag: 'pre', textContent: errors.join('\n'),