[Plugin: AddThis] ag.href is undefined in async mode
-
I load addthis in async mode:
https://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 subsequentaddthis.update('share', 'title', title);
will not be performed.
Issuing theaddthis.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?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘[Plugin: AddThis] ag.href is undefined in async mode’ is closed to new replies.