Skip to content

Commit

Permalink
Apply "missing name" fix to authors as well
Browse files Browse the repository at this point in the history
  • Loading branch information
dontcallmedom committed Nov 6, 2015
1 parent 1ad81cd commit f02f4d8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions js/w3c/headers.js
Original file line number Diff line number Diff line change
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 f02f4d8

Please sign in to comment.