I load addthis in async mode:
http://s7.addthis.com/js/250/addthis_widget.js#async=1
Addthis is initialized with:
jQuery(document).ready(function(){
addthis.init();
});
When executing addthis.update('share', 'url', url); to change the url during runtime, i get the js error ag.href is undefined.
The url is changed, but execution stops so a subsequent addthis.update('share', 'title', title); will not be performed.
Issuing the addthis.update('share', 'title', title); first produces the same error.
Do i do something wrong or is there a better way to change url and title during runtime (asynchronously) without js execution stop?