Lar*_*y K 43
将新内容添加到dom后,请致电
stButtons.locateElements();
// or if you want to be a bit defensive about whether the lib has been
// loaded or not:
if (window.stButtons){stButtons.locateElements();} // Parse ShareThis markup
Run Code Online (Sandbox Code Playgroud)
小智 9
2017年9月更新回答
stButtons对象不再存在,现在可以使用了
window.__sharethis__.initialize()
Run Code Online (Sandbox Code Playgroud)
要重新初始化按钮