diff --git a/js/core-dyn.js b/js/core-dyn.js index c08cd44..b4c62d5 100644 --- a/js/core-dyn.js +++ b/js/core-dyn.js @@ -108,9 +108,9 @@ function buildOptions(options) { $('#question').text(options.question); jQuery.each(options.slots, function (i, slot) { - var htmlModel = '

' + slot.slotlabel + ' 0

'; + var htmlModel = '

' + slot.slotlabel + ' 0

'; $('#option-container').append(htmlModel); - $('#slot-' + i+'-label').click(function() { + $('#slot-' + i + '-superlabel').click(function() { var e = jQuery.Event("keypress"); e.which = 49+i; $(document).trigger(e);