diff options
author | Stan Hu <stanhu@gmail.com> | 2019-04-28 21:10:22 -0700 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2019-04-28 21:10:22 -0700 |
commit | 396a9bd96a08e28a593f467a57b0fa92a8bd9e1f (patch) | |
tree | 409c049b5e4447022451de878c71b01313d463f5 | |
parent | 536d96a3e02daceca8398745cd27ab1e0f56711d (diff) | |
download | gitlab-ce-sh-remove-stray-go-button-ci.tar.gz |
Remove stray "Go" button that only appears in CIsh-remove-stray-go-button-ci
This was added years ago, but our tests shouldn't depend on some
random button that only shows up in CI.
-rw-r--r-- | app/views/layouts/_search.html.haml | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/app/views/layouts/_search.html.haml b/app/views/layouts/_search.html.haml index a6023a1cbb9..58c2826f651 100644 --- a/app/views/layouts/_search.html.haml +++ b/app/views/layouts/_search.html.haml @@ -45,5 +45,4 @@ - if @snippet || @snippets = hidden_field_tag :snippets, true = hidden_field_tag :repository_ref, @ref - = button_tag 'Go' if ENV['RAILS_ENV'] == 'test' .search-autocomplete-opts.hide{ :'data-autocomplete-path' => search_autocomplete_path, :'data-autocomplete-project-id' => @project.try(:id), :'data-autocomplete-project-ref' => @ref } |