           listClosingTags = "</a>
           </li>"
 
-          
+
           if username is ''
             listWithUserName = ''
 

      $value = $block.find('.value')
      $loading = $block.find('.block-loading').fadeOut()

      $block.on('click','.js-assign-yourself' , (e) => 
        e.preventDefault()
        assignTo(@currentUser.id)
      )

  constructor: (currentUser) ->
    @usersPath = "/autocomplete/users.json"
    @userPath = "/autocomplete/users/:id.json"
    if currentUser?
      @currentUser = JSON.parse(currentUser)

    $('.js-user-search').each (i, dropdown) =>
      $dropdown = $(dropdown)
