Skip to content
Snippets Groups Projects
Commit de41e7a3 authored by Marin Jankovski's avatar Marin Jankovski
Browse files

Replace jquery deprecated .live with .on

parent 01b03a81
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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()
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment