gitlabhq/app/assets/javascripts/commits.js
2011-10-09 00:36:38 +03:00

10 lines
234 B
JavaScript

$(document).ready(function(){
$(".day-commits-table li.commit").live('click', function(e){
if(e.target.nodeName != "A") {
location.href = $(this).attr("url");
e.stopPropagation();
return false;
}
});
});