');
} else {
// Already loaded? Then re-attach it to the newly rendered set of social icons.
// And reset share url/title, so they don't carry-over from the previous page.
console.log('tests');
window['addthis_share'].url = url;
window['addthis_share'].title = title;
window.addthis.toolbox('.addthis_toolbox');
$('.addthis_button_tweet').html('');
twttr.widgets.load();
}
}
-->