Open lucascampelo opened 10 years ago
This code create and call a custom event called "fbready" on document element. Very useful for custom javascript code on specific pages. Example:
document.addEventListener('fbready', function(event){ // Do Something }); // or jQuery(document).on('fbready',function(event){ // Do Something });
This code create and call a custom event called "fbready" on document element. Very useful for custom javascript code on specific pages. Example:
document.addEventListener('fbready', function(event){ // Do Something }); // or jQuery(document).on('fbready',function(event){ // Do Something });