From ffc82a9d89b42cb1a7384fa791ab154379666fb2 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Sat, 2 Mar 2013 18:55:39 +0200 Subject: [PATCH] github.js: remove unneeded parentheses --- htdocs/site/js/github.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 + '
  • ');