diff --git a/app/assets/javascripts/posts.js b/app/assets/javascripts/posts.js index a335a23b8..21ede5674 100644 --- a/app/assets/javascripts/posts.js +++ b/app/assets/javascripts/posts.js @@ -8,11 +8,11 @@ if ($("#c-posts").length) { this.initialize_shortcuts(); + this.initialize_saved_searches(); } if ($("#c-posts").length && $("#a-index").length) { this.initialize_excerpt(); - this.initialize_saved_searches(); } if ($("#c-posts").length && $("#a-show").length) { diff --git a/app/views/posts/index.html.erb b/app/views/posts/index.html.erb index c18f7ed1c..b09354072 100644 --- a/app/views/posts/index.html.erb +++ b/app/views/posts/index.html.erb @@ -59,6 +59,10 @@ <% end %> <%= post_search_count_js %> + +
diff --git a/app/views/posts/partials/index/_posts.html.erb b/app/views/posts/partials/index/_posts.html.erb index 6efa892fb..9b831b80f 100644 --- a/app/views/posts/partials/index/_posts.html.erb +++ b/app/views/posts/partials/index/_posts.html.erb @@ -3,12 +3,6 @@ <%= post_set.presenter.post_previews_html(self) %> - <% if params[:tags] %> - - <% end %> - <% if post_set.hidden_posts.present? %> <% content_for(:page_title) do %>