summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/commits.js
blob: a62e9330ffca7ac0921a403e38bbda6b7c650ddc (plain)
1
2
3
4
5
6
7
8
9
$(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;
    }
  });
});