Skip to content

Instantly share code, notes, and snippets.

@nicoladj77
Last active December 18, 2015 07:49
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 nicoladj77/5749265 to your computer and use it in GitHub Desktop.
Save nicoladj77/5749265 to your computer and use it in GitHub Desktop.
gist for modal not showing up correctly
jQuery('#ai1ec-create-event-modal').parents().each(function(){
var $this = jQuery(this);
var position = $this.css('position');
if( position === 'relative' ) {
console.log(this);
$this.css('position', 'static');
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment