AddThis social sharing

AddThis is a popular sharing widget that lets you easily implement social sharing in your pages. Implementing AddThis is quite an easy task. All you need to do is to add a script tag in the document and a block of html block consisting of the desired buttons. But the problem is AddThis only initializes items at the domready event. Hence the delayed blocks which were loaded via ajax remains out of reach of AddThis script. So, we need to reinitialize the AddThis instance so that the newly added blocks come to life too. Below is the block of javascript code that will do such a trick:

Subscribe to RSS - AddThis social sharing