From 23c870ceb9679a30b818e3182cb30ddf155dd634 Mon Sep 17 00:00:00 2001 From: tophf Date: Thu, 20 Jul 2017 10:27:24 +0300 Subject: [PATCH] fixup b50c19a8: "errors" is now an array --- edit/edit.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'),