Last active
December 18, 2015 07:49
-
-
Save nicoladj77/5749265 to your computer and use it in GitHub Desktop.
gist for modal not showing up correctly
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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