Commit de41e7a3 authored by Marin Jankovski's avatar Marin Jankovski

Replace jquery deprecated .live with .on

parent 01b03a81
......@@ -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