Javascript Expandable Search Leaving Input Line Bug Stack Overflow

Javascript Expandable Search Leaving Input Line Bug Stack Overflow