Created
January 9, 2015 05:32
-
-
Save tomharrigan/674d1e31d5a94d6cb5e0 to your computer and use it in GitHub Desktop.
Snippet for firing Facebook XFBML parsing function on post-load trigger
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
( 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