Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
var isIOS = ( navigator.userAgent.match(/(iPad|iPhone|iPod)/g) ? true : false );
function showFacebookShare(control)
{
if (!isIOS)
{
window.open(control.href, '', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=500,width=700');
return false;
}
else
{
return true;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.