Created
January 10, 2012 21:16
-
-
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
This file contains hidden or 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
| 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