gitlabhq/app/assets/javascripts/commits.js
Dmitriy Zaporozhets d378468794 v1.0
2011-10-13 04:00:00 +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;
}
});
});