Skip to content

Instantly share code, notes, and snippets.

@MoritzBuetzer
Created November 19, 2014 13:43
Show Gist options
  • Save MoritzBuetzer/6f4c50c917717bf28d6e to your computer and use it in GitHub Desktop.
Save MoritzBuetzer/6f4c50c917717bf28d6e to your computer and use it in GitHub Desktop.
Fix anchor Links in jQuery Mobile App
$( document ).on( "pagebeforeshow", function() {
$('a[href*="#anchor"]').attr('data-ajax','false');
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment