Commit affdf201 authored by Luke "Jared" Bennett's avatar Luke "Jared" Bennett Committed by Luke Bennett

Further review changes and removed large ammounts of reformatting

parent 1ac5f764
......@@ -315,11 +315,10 @@ class @SearchAutocomplete
disableAutocomplete: ->
# If not disabled already, disable
if not @searchInput.hasClass('disabled') && @dropdown.hasClass('open')
if not @searchInput.hasClass('disabled') and @dropdown.hasClass 'open'
@searchInput.addClass('disabled')
# Close dropdown and invoke its hidden() method
@dropdown.removeClass('open')
.trigger('hidden.bs.dropdown')
@dropdown.removeClass('open').trigger 'hidden.bs.dropdown'
@restoreMenu()
restoreMenu: ->
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment