diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-03-25 15:47:31 -0700 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-03-25 15:47:31 -0700 |
commit | 8b7aedad2bf8b8b9eb453a43206db114d9128dcd (patch) | |
tree | 2aba099ec6e3180a0c1a4eec0302d697a6076bb6 /app | |
parent | 99fcb80eb705c47fe7d6d5c7a250de8c00f71146 (diff) | |
download | gitlab-ce-fix-branch-contains.tar.gz |
Prevent doubling AJAX request with each commit visit via Turbolinkfix-branch-contains
Diffstat (limited to 'app')
-rw-r--r-- | app/views/projects/commit/_commit_box.html.haml | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/app/views/projects/commit/_commit_box.html.haml b/app/views/projects/commit/_commit_box.html.haml index 7409f702c5d..2579f2cac92 100644 --- a/app/views/projects/commit/_commit_box.html.haml +++ b/app/views/projects/commit/_commit_box.html.haml @@ -48,5 +48,4 @@ = preserve(gfm(escape_once(@commit.description))) :coffeescript - $ -> - $(".commit-info-row.branches").load("#{branches_namespace_project_commit_path(@project.namespace, @project, @commit.id)}") + $(".commit-info-row.branches").load("#{branches_namespace_project_commit_path(@project.namespace, @project, @commit.id)}") |