Commit 93ba24163ac72c277ac1717a34e6aeab10ef0771

Authored by Braulio Bhavamitra
Committed by Victor Costa
1 parent 845cad1a

searches: use replaceWith to avoid repetition

Showing 1 changed file with 2 additions and 1 deletions   Show diff stats
app/views/search/search.js.erb
1 -jQuery('#search-content').html('<%= escape_javascript(render :partial => "search_content") %>'); 1 +jQuery('#search-content').replaceWith('<%= escape_javascript(render "search_content") %>');
  2 +