posts: remove AddThis widget.
AddThis apparently pulls in a script from z.moatads.com now. Fuck that.
This commit is contained in:
@@ -10,13 +10,6 @@
|
||||
<%= @post_set.presenter.tag_list_html(current_query: params[:tags], show_extra_links: policy(Post).show_extra_links?) %>
|
||||
</section>
|
||||
|
||||
<% if Danbooru.config.addthis_key.present? %>
|
||||
<section id="post-share">
|
||||
<h1>Share</h1>
|
||||
<%= render "posts/partials/index/share" %>
|
||||
</section>
|
||||
<% end %>
|
||||
|
||||
<%= render "posts/partials/index/options" %>
|
||||
|
||||
<%= render "posts/partials/index/related", post_set: @post_set %>
|
||||
|
||||
@@ -1,10 +0,0 @@
|
||||
<div class="addthis_toolbox addthis_default_style addthis_32x32_style"
|
||||
addthis:title="Find over <%= @post_set.post_count %> <%= @post_set.humanized_tag_string %> images on <%= Danbooru.config.app_name %>">
|
||||
<a class="addthis_button_twitter"></a>
|
||||
<a class="addthis_button_facebook"></a>
|
||||
<a class="addthis_button_reddit"></a>
|
||||
<a class="addthis_button_tumblr"></a>
|
||||
<a class="addthis_button_compact"></a>
|
||||
</div>
|
||||
|
||||
<script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=<%= Danbooru.config.addthis_key %>" async="async"></script>
|
||||
@@ -1,10 +0,0 @@
|
||||
<div class="addthis_toolbox addthis_default_style addthis_32x32_style"
|
||||
addthis:title="<%= post.presenter.humanized_essential_tag_string.html_safe %>">
|
||||
<a class="addthis_button_twitter"></a>
|
||||
<a class="addthis_button_facebook"></a>
|
||||
<a class="addthis_button_reddit"></a>
|
||||
<a class="addthis_button_tumblr"></a>
|
||||
<a class="addthis_button_compact"></a>
|
||||
</div>
|
||||
|
||||
<script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=<%= Danbooru.config.addthis_key %>" async="async"></script>
|
||||
@@ -18,13 +18,6 @@
|
||||
<%= render "posts/partials/show/information", :post => @post %>
|
||||
</section>
|
||||
|
||||
<% if Danbooru.config.addthis_key.present? %>
|
||||
<section id="post-share">
|
||||
<h1>Share</h1>
|
||||
<%= render "posts/partials/show/share", post: @post %>
|
||||
</section>
|
||||
<% end %>
|
||||
|
||||
<section id="post-options">
|
||||
<h1>Options</h1>
|
||||
<%= render "posts/partials/show/options", :post => @post %>
|
||||
|
||||
Reference in New Issue
Block a user