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 ...@@ -315,11 +315,10 @@ class @SearchAutocomplete
disableAutocomplete: -> disableAutocomplete: ->
# If not disabled already, disable # 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') @searchInput.addClass('disabled')
# Close dropdown and invoke its hidden() method # Close dropdown and invoke its hidden() method
@dropdown.removeClass('open') @dropdown.removeClass('open').trigger 'hidden.bs.dropdown'
.trigger('hidden.bs.dropdown')
@restoreMenu() @restoreMenu()
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