Basically I’m trying to have it when you click the search on the top right, it expands. That works fine and dandy. But hwen it’s open, and you click it again, it reopens it instead of doing the search. I think this is because the jQuery is searching for the text field to blur, and then resets the width / classes. How can I avoid this behavior?
It’s because in the blur, you’re resetting the changing the .search.active back to .search.inactive, which puts you back in the happy loop. Sounds like you need a different lock point for the expand/contract than the button.
So close. I just need it to not run that bit of animation on submit. I know it’s that last animation call that’s doing it but nothing I do can stop it…