Skip to content

Commit

Permalink
Oops, min_score is adjusted.
Browse files Browse the repository at this point in the history
Also, let's not reintroduce the original > vs >= mistake.
  • Loading branch information
mjpieters committed Jun 28, 2012
1 parent cb2a7f3 commit 173e8cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions badge/index.html
Expand Up @@ -55,7 +55,7 @@
}
}

if(min_score > min_score && top_tag_page < 5) {
if(min_score >= 15 && top_tag_page < 5) {
top_tag_page = top_tag_page + 1;
api.call("/users/"+user_id+"/top-answer-tags/",
{site: user_site, filter:'!n0IbH.9B9.', pagesize:50, page:top_tag_page},
Expand All @@ -73,7 +73,7 @@
tag_score = user_tag_list[tag];

}
if(tag_score >= min_score) {
if(tag_score >= 15) {
if(good_tag_count && good_tag_count%5 == 0) good_output = good_output + "</tr><tr>";
good_tag_count++;
good_output = good_output + '<td><a target="_blank" class=tag href="'+site_url+'/search?q=user:'
Expand Down

0 comments on commit 173e8cf

Please sign in to comment.