Created by: denisjacquemin
When refreshing fragment of page with Ajax (pjax in my case), the twipsy remains on the page.
By default twipsy are prepend to document.body
, refreshing with ajax some fragment of page will not remove the twipsy.
The solution, adding a parameter to explicitely define the tag at which the twipsy is prepend to. (keep document.body as default)