Skip to content

Commit

Permalink
Merge pull request #517 from dontcallmedom/authorsbug
Browse files Browse the repository at this point in the history
Apply "missing name" fix to authors as well
  • Loading branch information
Marcos Caceres committed Nov 9, 2015
2 parents 1ad81cd + f02f4d8 commit 990bee2
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions js/w3c/headers.js
Expand Up @@ -390,8 +390,10 @@ define(
if (conf.editors) {
conf.editors.forEach(peopCheck);
}
$.each(conf.authors || [], peopCheck);
conf.multipleEditors = conf.editors.length > 1;
if (conf.authors) {
conf.authors.forEach(peopCheck);
}
conf.multipleEditors = conf.editors && conf.editors.length > 1;
conf.multipleAuthors = conf.authors && conf.authors.length > 1;
$.each(conf.alternateFormats || [], function (i, it) {
if (!it.uri || !it.label) msg.pub("error", "All alternate formats must have a uri and a label.");
Expand Down

0 comments on commit 990bee2

Please sign in to comment.