Revert "fixes #2160"

This reverts commit 292f730991.
This commit is contained in:
r888888888
2014-06-24 10:15:44 -07:00
parent b0af27f903
commit 330c431060
2 changed files with 1 additions and 5 deletions

View File

@@ -245,9 +245,7 @@ class PostPresenter < Presenter
pool_html << ' <span class="pool-name ' + klass + '">'
pool_html << template.link_to("Pool: #{pool.pretty_name}", template.pool_path(pool), :title => "page #{pool.page_number(@post.id)}/#{pool.post_count}")
pool_html << ' ['
pool_html << template.link_to("remove", template.pool_element_path(:pool_id => pool.id, :post_id => @post.id), :remote => true, :method => :delete, :data => {:confirm => "Are you sure you want to remove this post from the pool #{pool.pretty_name}?"})
pool_html << ']</span> '
pool_html << '</span> '
if pool.neighbors(@post).next
@next_post_in_pool = pool.neighbors(@post).next

View File

@@ -1,2 +0,0 @@
$("#nav-link-for-pool-<%= @pool.id %>").remove();
Danbooru.notice("Post removed from pool");