gitlabhq/app/assets/javascripts/commits.js

10 lines
234 B
JavaScript
Raw Normal View History

2011-10-08 23:36:38 +02:00
$(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;
}
});
});