Closed (fixed)
Project:
AddThis
Version:
6.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
13 Jul 2011 at 13:53 UTC
Updated:
8 Aug 2011 at 06:32 UTC
addthis toolbox is hidden after you load another page.
this line is missing:
<script type='text/javascript' src='/sites/default/files/addthis/addthis_widget.js#async=1'></script>
on every page except the first you open.
if block cache is disabled, there's no problem
Comments
Comment #1
les limThe AddThis script is only added into the page when the theme function is called, because we don't want to load the additional script file if AddThis isn't being displayed anywhere on the page. Block caching bypasses the theme function call, so that's why the script doesn't get added into the HEAD.
I'm open to some options for tackling this.
Comment #2
Alessandro Pezzato commentedIs it possible to disable block caching only for addthis block?
Comment #3
lpalgarvio commented+1
Comment #4
les limFix committed. New release should be available shortly.