slankes/askbot-devel — comment on commit 7193abc190a4c255b4d1a7f70209a3606f51a62e
File:  line 0
By evgenyfadeev:

Hello Sven, this is a very nice feature indeed!

Could you try make it work also when a sharing button is clicked?
I think a better way is to add the sharing suffix explicitly into js and then append it to the text.

There is a data structure in js for askbot: askbot['data'], so a value can be added to it at askbot['data']['social_sharing_suffix'].

That way the suffix will be added automatically regardless on whether you click on the button or the plain text link.

Thank you.