Fix: use isArray

This commit is contained in:
eight 2017-11-09 07:22:34 +08:00
parent c4c4b5638e
commit b4dfe5c836

View File

@ -1677,7 +1677,7 @@ function fromMozillaFormat() {
.catch(showError);
function showError(errors) {
if (!errors.join) {
if (!Array.isArray(errors)) {
errors = [errors];
}
showHelp(t('styleFromMozillaFormatError'), $element({