I have my navbar with a search button that calls a slideToogle () and displays a form with an input text inside below my navbar.
I want my form to be hidden when I lose focus or the search button is clicked again.
So my problem is this, when I click the search button with the form open, it does the same thing twice.