Created
April 5, 2012 22:08
-
-
Save richardcalahan/2314565 to your computer and use it in GitHub Desktop.
Prevent iOS WebApp links from opening in Safari
This file contains 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
$(document).ready(function() { | |
$('a').live('click', function (e) { | |
e.preventDefault(); | |
window.location = $(this).attr('href'); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment