Skip to content

Commit

Permalink
Fixed js-generated html structure
Browse files Browse the repository at this point in the history
  • Loading branch information
shazow committed Apr 2, 2009
1 parent f2f2349 commit 5f96c5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/core.js
Expand Up @@ -27,6 +27,6 @@ function render_results(data, name) {
$("#results").html("<ul></ul>");
$.each(data.responseData.results, function(i, result) {
console.log(name);
$("#results ul:first").append("<li>" + convert_content(result.content, name) + "</li>");
$("#results ul:first").append('<li class="style' + ((i % 6) + 1 )+ '">' + convert_content(result.content, name) + '</li>');
});
}

0 comments on commit 5f96c5c

Please sign in to comment.