Skip to content

Instantly share code, notes, and snippets.

@gxcsoccer
Created September 3, 2012 18:26
Show Gist options
  • Save gxcsoccer/3611790 to your computer and use it in GitHub Desktop.
Save gxcsoccer/3611790 to your computer and use it in GitHub Desktop.
bootstrap re-flow snippet
that.$element.show();
if (transition) {
that.$element[0].offsetWidth // force reflow
}
that.$element.addClass('in');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment