• Lyza Danger Gardner's avatar
    Do not set initial empty search query · 1dde9fa5
    Lyza Danger Gardner authored
    The way that the search interface is currently implemented,
    clicking on the "search" icon in the top bar actually
    submits the search form (with an empty query).
    
    Ignoring empty queries if a query has not yet been set
    alleviates "searching" for nothing.
    
    This also prevents expanded threads from being re-collapsed
    when clicking on the search icon.
    1dde9fa5
search-input.js 2.72 KB