Skip to content
Browse files

fix rating

  • Loading branch information...
1 parent c81bc24 commit 518cd1652aecc05416ff25c33de4218e8de9e287 @rogerbraun committed Feb 21, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 hnbayes.js
View
2 hnbayes.js
@@ -230,7 +230,7 @@ if(maybeUrls){
trainFromUrl(link, "bad");
});
- rate.bind("click", function(){
+ rate.bind("click", function(event){
var target = $(event.target);
var link = target.siblings("a")[0].href;
var result_span = target.siblings(".rate_result")[0];

0 comments on commit 518cd16

Please sign in to comment.
Something went wrong with that request. Please try again.