Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix rating

  • Loading branch information...
commit 518cd1652aecc05416ff25c33de4218e8de9e287 1 parent c81bc24
@rogerbraun authored
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];
Please sign in to comment.
Something went wrong with that request. Please try again.