     if @options.url?
       @createListFromSource()
     else
-      if $('optgroup', @element).length > 0 
+      if $('optgroup', @element).length > 0
         @createListFromGroupedOptions()
       else
         @createListFromOptions()

  # Input togglers for autocompletion behaviour
  show: ->
    @placeholder.hide()
    @input.css 'display', 'block'    
    @inputContainer.addClass 'opened'
    @list.show()
    @input.focus() unless @input.is(":focus")

    @input = $('input', @inputContainer)
    @options.multiple = @options.multiple? || @element.attr('multiple')?
    @searchWithAjax = @element.data('query')?

    console.log @options.multiple

    # Option setting
    @dataDefaults = {}
