Skip to content

Instantly share code, notes, and snippets.

@tomharrigan
Created January 9, 2015 05:32
Show Gist options
  • Save tomharrigan/674d1e31d5a94d6cb5e0 to your computer and use it in GitHub Desktop.
Save tomharrigan/674d1e31d5a94d6cb5e0 to your computer and use it in GitHub Desktop.
Snippet for firing Facebook XFBML parsing function on post-load trigger
( function( $ ) {
$( document.body ).on( 'post-load', function () {
FB.XFBML.parse();
} );
} )( jQuery );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment