Do not preserve keyword on search submit

pull/3683/head
Mohamed Wael Khobalatte 9 years ago
parent 21772e9db2
commit 3cec61e912
  1. 2
      app/views/search/_mini_form.html.erb

@ -34,7 +34,7 @@ See doc/COPYRIGHT.rdoc for more details.
<expandable-search class="top-menu-search -collapsed" ng-class="{'-collapsed': collapsed === true}">
<div>
<%= text_field_tag 'q', @question, :size => 20, :class => 'top-menu-search--input', :placeholder => l(:search_input_placeholder) %>
<%= text_field_tag 'q', nil, :size => 20, :class => 'top-menu-search--input', :placeholder => l(:search_input_placeholder) %>
<a id="top-menu-search-button"
class="top-menu-search--button search-form-normal"
title="<%= l(:label_search) %>"

Loading…
Cancel
Save