 
 $('#remove-list').click ->
   remove_list()
-  return false+  return false

delay = null
shuffled_people = null
index = null

choose_name = (results_index) ->
  delay = 1
  shuffled_people = _.shuffle group.lists[results_index]
  index = 0

  results_el = $("#result-#{results_index}")
  $('.no-one', results_el).hide() 
  $('.person.displayed', results_el).removeClass('displayed')
  $('.person.choosen', results_el).removeClass('choosen')



$('#chooser').addClass('disabled').attr('disabled': true) if group?.lists.length is 0

$('#chooser').click ->
  $('.displayed').removeClass('displayed')
  $('.no-one').show()
  choose_name(0)


