Skip to content

Instantly share code, notes, and snippets.

@timruffles
Created January 10, 2012 21:16
Show Gist options
  • Select an option

  • Save timruffles/1591252 to your computer and use it in GitHub Desktop.

Select an option

Save timruffles/1591252 to your computer and use it in GitHub Desktop.
Fix facebook fbCallID undefined on mobile, caused by using a touchstart event not a click
el.on("touchstart", function() { FB.login(function() {...}) }); // facepalm with lovely cryptic error
el.on("click", function() { FB.login(function() {...}) }); // it works!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment