diff options
author | Rémy Coutable <remy@rymai.me> | 2016-04-21 19:34:45 +0200 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2016-04-21 19:34:45 +0200 |
commit | d620d5e16009404e4972be0cd913fb0e53eaaa16 (patch) | |
tree | ab8a05851bb782574008da129982ca203052ba01 | |
parent | 1c7c114e76510349bebb2494c951713813526489 (diff) | |
parent | a216ea5a342a0639da9ebc97254fb5d1e8e2d715 (diff) | |
download | gitlab-ce-d620d5e16009404e4972be0cd913fb0e53eaaa16.tar.gz |
Merge branch 'master' of dev.gitlab.org:gitlab/gitlabhq
-rw-r--r-- | app/assets/javascripts/commits.js.coffee | 2 | ||||
-rw-r--r-- | app/views/projects/commits/show.html.haml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/assets/javascripts/commits.js.coffee b/app/assets/javascripts/commits.js.coffee index ffd3627b1b0..0acb4c1955e 100644 --- a/app/assets/javascripts/commits.js.coffee +++ b/app/assets/javascripts/commits.js.coffee @@ -1,7 +1,7 @@ class @CommitsList @timer = null - @init: (ref, limit) -> + @init: (limit) -> $("body").on "click", ".day-commits-table li.commit", (event) -> if event.target.nodeName != "A" location.href = $(this).attr("url") diff --git a/app/views/projects/commits/show.html.haml b/app/views/projects/commits/show.html.haml index c52cf25d40a..bcdb09208aa 100644 --- a/app/views/projects/commits/show.html.haml +++ b/app/views/projects/commits/show.html.haml @@ -39,4 +39,4 @@ = spinner :javascript - CommitsList.init("#{@ref}", #{@limit}); + CommitsList.init(#{@limit}); |