Permalink
Browse files

Fix for firefox

  • Loading branch information...
1 parent 6441628 commit c819e7de87ec52d38461d6e925365c25647fa760 Mark Reid committed Apr 6, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 code/bandits/js/ui.js
View
@@ -149,7 +149,7 @@ function makeSelector(kind) {
var li = $("<li/>").addClass(kind.name);
var select = $("<select/>");
for(type in kind.types) {
- var option = $('<option/>').attr('label', type);
+ var option = $('<option/>').val(type).text(type);
select.append(option);
select.change(function(event) {
var value = $(this).val();

0 comments on commit c819e7d

Please sign in to comment.