Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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;
- }
- }
Add Comment
Please, Sign In to add comment