addthis: update script, hide when not enabled.
* Hide 'Share' section from sidebar when Addthis isn't enabled. * Don't show popup menu until click.
This commit is contained in:
@@ -71,6 +71,8 @@
|
||||
window._paq.push(["setCustomVariable", 3, "postUpdateCount", <%= CurrentUser.post_update_count.to_i / 100 %>, "visit"]);
|
||||
window._paq.push(["setCustomVariable", 4, "favoriteCount", <%= CurrentUser.favorite_count.to_i / 100 %>, "visit"]);
|
||||
<% end %>
|
||||
|
||||
window.addthis_config = { ui_click: true };
|
||||
</script>
|
||||
<%= yield :html_header %>
|
||||
<%= raw Danbooru.config.custom_html_header_content %>
|
||||
|
||||
Reference in New Issue
Block a user