Twitter seems to have dealt with already rendered tweets already so there isn't much to do there.
This patch uses the library api to load the js and just makes sure twttr.widgets.load(); runs which is required for ajax callbacks.
Using twttr.widgets.load() directly will make sure duplicate tweet embeds are not created on ajax load.
| Comment | File | Size | Author |
|---|---|---|---|
| twitter-ajax.patch | 1.34 KB | Jaesin |
Comments
Comment #2
draganerorHeh, nice solution! I didn't know Twitter has this nice feature, thanks @Jaesin!
Comment #4
slashrsm commentedCommitted. Thank you both!