Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorMarin Jankovski <marin@gitlab.com>2014-05-23 16:07:42 +0400
committerMarin Jankovski <marin@gitlab.com>2014-05-27 11:12:57 +0400
commitde41e7a3da92d6f3ef9ad608732ef96c9019724a (patch)
tree196a3770d599ea26e177c836c8a99846bddda2c2 /app
parent01b03a819192d4677f68d84d46e7f7c95a3cd306 (diff)
Replace jquery deprecated .live with .on
Diffstat (limited to 'app')
-rw-r--r--app/assets/javascripts/commits.js.coffee2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/commits.js.coffee b/app/assets/javascripts/commits.js.coffee
index 9c004c997ed..784d7d20bb1 100644
--- a/app/assets/javascripts/commits.js.coffee
+++ b/app/assets/javascripts/commits.js.coffee
@@ -12,7 +12,7 @@ class CommitsList
$('.loading').hide()
@init: (ref, limit) ->
- $(".day-commits-table li.commit").live 'click', (event) ->
+ $("body").on "click", ".day-commits-table li.commit", (event) ->
if event.target.nodeName != "A"
location.href = $(this).attr("url")
e.stopPropagation()