BigW Consortium Gitlab

Commit 6990f8a8 by Marin Jankovski

Replace jquery deprecated .live with .on

parent 8ae2d215
......@@ -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()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment