Skip to content

Instantly share code, notes, and snippets.

@harmstyler
Created November 8, 2013 15:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save harmstyler/7372435 to your computer and use it in GitHub Desktop.
Save harmstyler/7372435 to your computer and use it in GitHub Desktop.
Code taken from comment by @gregjopa on how to add affix events to bootstrap.
$alert.on('unaffixed.bs.affix', function () {
// ... Code Here
});
$alert.on('affixed.bs.affix', function () {
// ... Code Here
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment