diff --git a/htdocs/site/js/github.js b/htdocs/site/js/github.js index b78aeaa24..f5c611ee6 100644 --- a/htdocs/site/js/github.js +++ b/htdocs/site/js/github.js @@ -14,7 +14,7 @@ jQuery.fn.listCommits = function(username, repository, branch) { $(commits).each(function(i) { var githubUrl = 'https://github.com/' + username + '/' + repository + '/commit/' + this.sha, shortMessage = cutLines(this.commit.message), - commitAuthor = (this.author !== null) ? this.author.login : this.commit.author.name; + commitAuthor = this.author !== null ? this.author.login : this.commit.author.name; list.append('
  • ' + shortMessage + ' by ' + commitAuthor + '
  • ');