Skip to content

Instantly share code, notes, and snippets.

@webinfinita
Last active August 29, 2015 14:16
Show Gist options
  • Save webinfinita/994dcf3848c0952e6d1f to your computer and use it in GitHub Desktop.
Save webinfinita/994dcf3848c0952e6d1f to your computer and use it in GitHub Desktop.
Remove ajax modal content on close
$('body').on('hidden.bs.modal', '.modal', function () {
$(this).removeData('bs.modal');
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment