Skip to content

Commit

Permalink
data fix
Browse files Browse the repository at this point in the history
  • Loading branch information
pinguxx committed Jan 25, 2012
1 parent e4b0127 commit 7843885
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/javascripts/script.js
Expand Up @@ -58,7 +58,7 @@ $(function() {
votes.html(data);
var list = $('#voted');
var found = list.find('li:containsExactly('+name+')');
if (found.length < 1){
if (found.length > 0){
var li = $('<li id="'+nid+'" type="voted"><input type="checkbox" /><label>'+name+'</label></li>');
list.append(li);
li.find("label").click(checkOne);
Expand Down

0 comments on commit 7843885

Please sign in to comment.